2017-09-05 12:01:27 +02:00
|
|
|
---
|
|
|
|
- name: create mesh bridges
|
|
|
|
template:
|
|
|
|
src: bridge.j2
|
2017-11-06 21:24:56 +01:00
|
|
|
dest: "/etc/network/interfaces.d/{{ item.id }}br"
|
2017-10-03 14:37:39 +02:00
|
|
|
notify: reload network interfaces
|
2018-09-16 12:38:33 +02:00
|
|
|
loop: "{{ meshes }}"
|
2017-09-05 12:01:27 +02:00
|
|
|
|
|
|
|
- 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"
|
2018-09-16 12:38:33 +02:00
|
|
|
loop: "{{ meshes }}"
|
2017-09-05 12:01:27 +02:00
|
|
|
notify: activate sysfs variables
|
2017-10-29 21:26:10 +01:00
|
|
|
|
|
|
|
- name: flush handlers
|
|
|
|
meta: flush_handlers
|