Add playbook for management of dns slaves.
This commit is contained in:
parent
88859d715a
commit
87adde7aed
12
dns/dns-slaves.yml
Normal file
12
dns/dns-slaves.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
- user: root
|
||||||
|
hosts: dns-slaves
|
||||||
|
gather_facts: no
|
||||||
|
tasks:
|
||||||
|
- name: update dns-infrastructure git repo
|
||||||
|
git: repo=git@bitbucket.org:staticsafe/dns-infrastructure.git dest=/etc/bind/dns-infrastructure update=yes
|
||||||
|
notify:
|
||||||
|
- reload nameserver daemon
|
||||||
|
handlers:
|
||||||
|
- reload nameserver daemon
|
||||||
|
action: shell service bind9 reload
|
Loading…
Reference in New Issue
Block a user