ansible-ffibk/roles/network-batman/tasks/main.yml
2017-11-06 21:24:56 +01:00

17 lines
416 B
YAML

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