bird: Initial version of role

This commit is contained in:
Timo Makinen 2021-03-16 00:56:00 +00:00
parent 644299f49a
commit f73ca08805
3 changed files with 41 additions and 0 deletions

Binary file not shown.

19
roles/bird/tasks/main.yml Normal file
View file

@ -0,0 +1,19 @@
---
- name: install packages
package:
name: bird%2
state: installed
- name: copy ipv4 config
template:
dest: /etc/bird.conf
src: bird.conf.j2
mode: 0600
owner: root
group: "{{ ansible_wheel }}"
- name: start services
service:
name: bird
state: started
enabled: true