ansible/roles/bird/tasks/main.yml

21 lines
313 B
YAML
Raw Normal View History

2021-02-24 22:09:23 +01:00
---
- 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
...