mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2024-11-25 16:06:41 +00:00
21 lines
298 B
YAML
21 lines
298 B
YAML
---
|
|
- name: Install BIRD
|
|
package:
|
|
name: bird2
|
|
state: present
|
|
|
|
- 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
|
|
|