2017-09-05 12:01:27 +02:00
|
|
|
---
|
|
|
|
- name: create dummy interfaces
|
|
|
|
template:
|
|
|
|
src: dummy.j2
|
2017-10-06 22:58:00 +02:00
|
|
|
dest: "/etc/network/interfaces.d/{{ item.id }}0"
|
2017-10-03 14:37:39 +02:00
|
|
|
notify: reload network interfaces
|
2017-10-06 22:58:00 +02:00
|
|
|
with_items: "{{ meshes }}"
|
2017-09-05 12:01:27 +02:00
|
|
|
|
|
|
|
- name: create batman interfaces
|
|
|
|
template:
|
|
|
|
src: batman.j2
|
2017-10-06 22:58:00 +02:00
|
|
|
dest: "/etc/network/interfaces.d/{{ item.id }}BAT"
|
2017-10-03 14:37:39 +02:00
|
|
|
notify: reload network interfaces
|
2017-10-06 22:58:00 +02:00
|
|
|
with_items: "{{ meshes }}"
|
2017-10-29 21:26:10 +01:00
|
|
|
|
|
|
|
- name: flush handlers
|
|
|
|
meta: flush_handlers
|