ansible-ffibk/roles/network-batman/tasks/main.yml
2019-03-02 18:12:56 +01:00

17 lines
403 B
YAML

---
- name: create dummy interfaces
template:
src: dummy.j2
dest: "/etc/network/interfaces.d/{{ item.id }}"
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