first commit

This commit is contained in:
ace
2021-10-25 12:53:52 +03:00
commit fec1339a2d
6 changed files with 95 additions and 0 deletions

26
tasks/main.yml Normal file
View File

@ -0,0 +1,26 @@
---
- name: install bird
package:
name: bird2
state: present
- name: add bird config
template:
src: bird.conf.j2
dest: /etc/bird.conf
notify:
- restart bird
- name: update ifcfg-lo config
template:
src: ifcfg-lo.j2
dest: /etc/sysconfig/network-scripts/ifcfg-lo
notify:
- restart loopback
- name: start bird service
systemd:
name: bird
state: started
enabled: yes
daemon_reload: yes