ansible-ffibk/roles/network-fastd/tasks/main.yml

22 lines
570 B
YAML
Raw Normal View History

---
- name: create fastd mesh interfaces
template:
src: fastd-mesh.j2
2017-11-06 21:24:56 +01:00
dest: "/etc/network/interfaces.d/{{ item.0.id }}vpn-{{ item.1.mtu }}"
notify: reload network interfaces
with_subelements:
- "{{ meshes }}"
- fastd.nodes.instances
- name: create fastd intragate interfaces
template:
src: fastd-intragate.j2
2017-11-06 21:24:56 +01:00
dest: "/etc/network/interfaces.d/{{ item.0.id }}igvpn-{{ item.1.mtu }}"
notify: reload network interfaces
with_subelements:
- "{{ meshes }}"
- fastd.intragate.instances
- name: flush handlers
meta: flush_handlers