ansible-ffibk/roles/network-ffrl/tasks/main.yml
2018-09-18 14:27:58 +02:00

16 lines
403 B
YAML

---
- name: create ffrl interfaces
template:
src: ffrl.j2
dest: "/etc/network/interfaces.d/{{ item.key }}"
notify: reload network interfaces
loop: "{{ ffrl_exit_server | dict2items }}"
- name: create ffrl-nat dummy interface
template:
src: ffrl_nat.j2
dest: "/etc/network/interfaces.d/ffrl-nat"
notify: reload network interfaces
- name: flush handlers
meta: flush_handlers