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

22 lines
485 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
2018-01-24 00:30:43 +01:00
- name: Enable IPv6 routing
2018-01-24 00:49:46 +01:00
sysctl: name=net.ipv6.conf.all.forwarding value=1 state=present
2018-01-24 00:30:43 +01:00
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