ansible-ffibk/roles/service-bird-ffrl/tasks/main.yml
2017-09-18 13:22:55 +02:00

24 lines
495 B
YAML

---
- name: write ffrl bird configuration
template:
src: ffrl_ipv{{ item }}.conf.j2
dest: /etc/bird/ffrl_ipv{{ item }}.conf
mode: 0640
owner: bird
group: bird
notify: reload bird{{ item }}
with_items:
- 4
- 6
- name: write ffrl peer configuration
template:
src: ffrl_ipv{{ item }}_peers.conf.j2
dest: /etc/bird/ffrl_ipv{{ item }}_peers.conf
mode: 0640
owner: bird
group: bird
notify: reload bird{{ item }}
with_items:
- 4
- 6