2017-09-05 12:01:27 +02:00
|
|
|
---
|
|
|
|
- name: create fastd mesh interfaces
|
2019-03-02 18:10:48 +01:00
|
|
|
when: server_type == "gateway"
|
2017-09-05 12:01:27 +02:00
|
|
|
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 }}"
|
2017-10-03 14:37:39 +02:00
|
|
|
notify: reload network interfaces
|
2018-09-16 12:38:33 +02:00
|
|
|
loop: "{{ meshes | subelements('fastd.nodes.instances') }}"
|
2017-09-05 12:01:27 +02:00
|
|
|
|
2018-07-25 14:08:45 +02:00
|
|
|
- name: create fastd backbone interfaces
|
2017-09-05 12:01:27 +02:00
|
|
|
template:
|
2018-07-25 14:08:45 +02:00
|
|
|
src: fastd-backbone.j2
|
2017-11-06 21:24:56 +01:00
|
|
|
dest: "/etc/network/interfaces.d/{{ item.0.id }}igvpn-{{ item.1.mtu }}"
|
2017-10-03 14:37:39 +02:00
|
|
|
notify: reload network interfaces
|
2018-09-16 12:38:33 +02:00
|
|
|
loop: "{{ meshes | subelements('fastd.backbone.instances') }}"
|
2017-10-29 21:26:10 +01:00
|
|
|
|
|
|
|
- name: flush handlers
|
|
|
|
meta: flush_handlers
|