ansible-ffibk/roles/service-fastd-mesh/handlers/main.yml
2018-09-25 10:38:41 +02:00

20 lines
429 B
YAML

---
- name: reload systemd
systemd:
daemon_reload: yes
- name: restart fastd-nginx
systemd:
name: nginx.service
state: restarted
- name: restart fastd-exporter
systemd:
name: fastd-exporter.service
state: restarted
- name: restart fastd mesh instances
systemd:
name: "fastd@{{ item.0.id }}vpn-{{ item.1.mtu }}"
state: restarted
loop: "{{ meshes | subelements('fastd.nodes.instances') }}"