ansible-ffibk/roles/network-fastd/tasks/main.yml
Tobias Hachmer 63ca114c95 Migrate nested dictionary meshes into a list of dictionaries
- migrate dictionary `ipv6` into two simple lists
 - migrate dictionary `forward_zones` into a list
2017-10-06 22:58:00 +02:00

15 lines
401 B
YAML

---
- name: create fastd mesh interfaces
template:
src: fastd-mesh.j2
dest: "/etc/network/interfaces.d/{{ item.id }}VPN"
notify: reload network interfaces
with_items: "{{ meshes }}"
- name: create fastd intragate interfaces
template:
src: fastd-intragate.j2
dest: "/etc/network/interfaces.d/{{ item.id }}igVPN"
notify: reload network interfaces
with_items: "{{ meshes }}"