ansible-ffibk/roles/network-batman/tasks/main.yml
2018-09-18 14:27:58 +02:00

17 lines
404 B
YAML

---
- name: create dummy interfaces
template:
src: dummy.j2
dest: "/etc/network/interfaces.d/{{ item.id }}0"
notify: reload network interfaces
loop: "{{ meshes }}"
- name: create batman interfaces
template:
src: batman.j2
dest: "/etc/network/interfaces.d/{{ item.id }}bat"
notify: reload network interfaces
loop: "{{ meshes }}"
- name: flush handlers
meta: flush_handlers