ansible-ffibk/roles/network-meshbridge/tasks/main.yml

18 lines
401 B
YAML
Raw Normal View History

---
- name: create mesh bridges
template:
src: bridge.j2
2017-11-06 21:24:56 +01:00
dest: "/etc/network/interfaces.d/{{ item.id }}br"
notify: reload network interfaces
with_items: "{{ meshes }}"
- name: set sysfs variables
template:
src: sysfs.j2
2017-11-06 21:24:56 +01:00
dest: "/etc/sysfs.d/99-{{ item.id }}br.conf"
with_items: "{{ meshes }}"
notify: activate sysfs variables
- name: flush handlers
meta: flush_handlers