mirror of
https://gitea.0xace.cc/ansible-galaxy/bird.git
synced 2025-06-29 02:23:08 +00:00
first commit
This commit is contained in:
26
tasks/main.yml
Normal file
26
tasks/main.yml
Normal 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
|
Reference in New Issue
Block a user