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

19 lines
586 B
YAML
Raw Permalink Normal View History

---
- name: create fastd mesh interfaces
2019-03-02 18:10:48 +01:00
when: server_type == "gateway"
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
loop: "{{ meshes | subelements('fastd.nodes.instances') }}"
- name: create fastd backbone interfaces
template:
src: fastd-backbone.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
loop: "{{ meshes | subelements('fastd.backbone.instances') }}"
- name: flush handlers
meta: flush_handlers