ansible/roles/bird/tasks/main.yml

21 lines
324 B
YAML

---
- name: Install bird
apt:
name: bird2
- name: Configure bird
template:
src: bird.conf.j2
dest: /etc/bird/bird.conf
owner: root
group: bird
mode: u=rw,g=r,o=
notify:
- Reload bird
- name: Enable and start bird
systemd:
name: bird.service
state: started
enabled: true
...