ansible-ffibk/roles/network-meshbridge/tasks/main.yml
2017-10-29 21:26:10 +01:00

17 lines
401 B
YAML

---
- name: create mesh bridges
template:
src: bridge.j2
dest: "/etc/network/interfaces.d/{{ item.id }}BR"
notify: reload network interfaces
with_items: "{{ meshes }}"
- name: set sysfs variables
template:
src: sysfs.j2
dest: "/etc/sysfs.d/99-{{ item.id }}BR.conf"
with_items: "{{ meshes }}"
notify: activate sysfs variables
- name: flush handlers
meta: flush_handlers