ansible/roles/bird/tasks/main.yml

22 lines
324 B
YAML
Raw Normal View History

---
- 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
...