mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2024-11-25 16:06:41 +00:00
27 lines
445 B
YAML
27 lines
445 B
YAML
---
|
|
- name: Install BIRD
|
|
package:
|
|
name: bird2
|
|
state: present
|
|
|
|
- name: Update ifcfg-lo config
|
|
template:
|
|
src: ifcfg-lo.j2
|
|
dest: /etc/sysconfig/network-scripts/ifcfg-lo
|
|
notify:
|
|
- Restart loopback
|
|
|
|
- name: Add BIRD config
|
|
template:
|
|
src: bird.conf.j2
|
|
dest: /etc/bird.conf
|
|
notify:
|
|
- Reload bird
|
|
|
|
- name: Start BIRD service
|
|
systemd:
|
|
name: bird
|
|
state: started
|
|
enabled: yes
|
|
daemon_reload: yes
|