2022-01-01 21:45:08 +01:00
|
|
|
---
|
|
|
|
- name: Install bird
|
|
|
|
apt:
|
|
|
|
name: bird
|
|
|
|
|
|
|
|
- name: Configure bird
|
|
|
|
template:
|
|
|
|
src: bird.conf
|
|
|
|
dest: /etc/bird/bird.conf
|
|
|
|
owner: root
|
2022-01-02 16:07:18 +01:00
|
|
|
group: bird
|
|
|
|
mode: u=rw,g=r,o=
|
2022-01-01 21:45:08 +01:00
|
|
|
notify:
|
|
|
|
- Reload bird
|
|
|
|
|
|
|
|
- name: Configure bird6
|
|
|
|
template:
|
|
|
|
src: bird6.conf
|
|
|
|
dest: /etc/bird/bird6.conf
|
|
|
|
owner: root
|
2022-01-02 16:07:18 +01:00
|
|
|
group: bird
|
|
|
|
mode: u=rw,g=r,o=
|
2022-01-01 21:45:08 +01:00
|
|
|
notify:
|
|
|
|
- Reload bird6
|
|
|
|
|
|
|
|
- name: Enable and start bird
|
|
|
|
systemd:
|
|
|
|
name: bird.service
|
|
|
|
enabled: true
|
|
|
|
state: started
|
|
|
|
|
|
|
|
- name: Enable and start bird6
|
|
|
|
systemd:
|
|
|
|
name: bird6.service
|
|
|
|
enabled: true
|
|
|
|
state: started
|
|
|
|
...
|