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

18 lines
389 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
loop: "{{ 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"
loop: "{{ meshes }}"
notify: activate sysfs variables
- name: flush handlers
meta: flush_handlers