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

16 lines
348 B
YAML
Raw Normal View History

---
- name: create mesh bridges
template:
src: bridge.j2
dest: "/etc/network/interfaces.d/{{ item.key }}BR"
with_dict: "{{ meshes }}"
become: true
- name: set sysfs variables
template:
src: sysfs.j2
dest: "/etc/sysfs.d/99-{{ item.key }}BR.conf"
with_dict: "{{ meshes }}"
notify: activate sysfs variables
become: true