2021-10-25 11:24:40 +00:00
|
|
|
---
|
2021-10-25 12:26:23 +00:00
|
|
|
- name: Install BIRD
|
2021-10-25 11:24:40 +00:00
|
|
|
package:
|
|
|
|
name: bird2
|
|
|
|
state: present
|
|
|
|
|
2021-10-25 12:26:23 +00:00
|
|
|
- name: Update ifcfg-lo config
|
2021-10-25 11:24:40 +00:00
|
|
|
template:
|
|
|
|
src: ifcfg-lo.j2
|
|
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-lo
|
|
|
|
notify:
|
2021-10-25 12:26:23 +00:00
|
|
|
- Restart loopback
|
2021-10-25 11:24:40 +00:00
|
|
|
|
2021-10-25 12:54:01 +00:00
|
|
|
- name: Add BIRD config
|
|
|
|
template:
|
|
|
|
src: bird.conf.j2
|
|
|
|
dest: /etc/bird.conf
|
|
|
|
notify:
|
|
|
|
- Reload bird
|
|
|
|
|
2021-10-25 12:26:23 +00:00
|
|
|
- name: Start BIRD service
|
2021-10-25 11:24:40 +00:00
|
|
|
systemd:
|
|
|
|
name: bird
|
|
|
|
state: started
|
|
|
|
enabled: yes
|
|
|
|
daemon_reload: yes
|