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: Add BIRD config
|
2021-10-25 11:24:40 +00:00
|
|
|
template:
|
|
|
|
src: bird.conf.j2
|
|
|
|
dest: /etc/bird.conf
|
|
|
|
notify:
|
2021-10-25 12:27:46 +00:00
|
|
|
- Reload bird
|
2021-10-25 11:24:40 +00:00
|
|
|
|
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: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
|