bird: Initial version of role
This commit is contained in:
parent
644299f49a
commit
f73ca08805
3 changed files with 41 additions and 0 deletions
BIN
roles/bird/tasks/.main.yml.swp
Normal file
BIN
roles/bird/tasks/.main.yml.swp
Normal file
Binary file not shown.
19
roles/bird/tasks/main.yml
Normal file
19
roles/bird/tasks/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
- name: install packages
|
||||
package:
|
||||
name: bird%2
|
||||
state: installed
|
||||
|
||||
- name: copy ipv4 config
|
||||
template:
|
||||
dest: /etc/bird.conf
|
||||
src: bird.conf.j2
|
||||
mode: 0600
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: start services
|
||||
service:
|
||||
name: bird
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue