Add playbook for management of dns slaves.

This commit is contained in:
staticsafe 2014-01-11 18:00:40 +00:00
parent 88859d715a
commit 87adde7aed
1 changed files with 12 additions and 0 deletions

12
dns/dns-slaves.yml Normal file
View 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