ansible-ffibk/roles/service-bird-ffrl/tasks/main.yml

25 lines
495 B
YAML
Raw Normal View History

2017-09-11 23:49:11 +02:00
---
- 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