ansible-ffrgb/roles/bird/tasks/main.yml

19 lines
390 B
YAML
Raw Normal View History

2018-01-23 18:45:11 +01:00
---
- name: Install bird
2018-01-23 18:51:45 +01:00
apt: package=bird
2018-01-23 18:45:11 +01:00
- name: Configure bird
template: src=bird.conf.j2 dest=/etc/bird/bird.conf
notify: Restart bird
2018-01-23 18:51:45 +01:00
- name: Configure bird6
template: src=bird6.conf.j2 dest=/etc/bird/bird6.conf
notify: Restart bird6
2018-01-23 18:45:11 +01:00
- name: Enable bird
service: name=bird state=started enabled=yes
2018-01-23 18:51:45 +01:00
- name: Enable bird6
service: name=bird6 state=started enabled=yes