ansible/roles/bird/tasks/main.yml
2021-02-24 22:09:23 +01:00

20 lines
313 B
YAML

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