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

37 lines
791 B
YAML
Raw Permalink Normal View History

2017-09-11 23:49:11 +02:00
---
- name: write ffrl_ipv4.conf.j2
2017-09-11 23:49:11 +02:00
template:
src: ffrl_ipv4.conf.j2
dest: /etc/bird/ffrl_ipv4.conf
2017-09-11 23:49:11 +02:00
mode: 0640
owner: bird
group: bird
notify: reload systemd unit bird
2017-09-11 23:49:11 +02:00
- name: write ffrl_ipv6.conf.j2
2017-09-11 23:49:11 +02:00
template:
src: ffrl_ipv6.conf.j2
dest: /etc/bird/ffrl_ipv6.conf
2017-09-11 23:49:11 +02:00
mode: 0640
owner: bird
group: bird
notify: reload systemd unit bird6
- name: write ffrl_ipv4_peers.conf
template:
src: ffrl_ipv4_peers.conf.j2
dest: /etc/bird/ffrl_ipv4_peers.conf
mode: 0640
owner: bird
group: bird
notify: reload systemd unit bird
- name: write ffrl_ipv6_peers.conf
template:
src: ffrl_ipv6_peers.conf.j2
dest: /etc/bird/ffrl_ipv6_peers.conf
mode: 0640
owner: bird
group: bird
notify: reload systemd unit bird6