2014-01-11 18:00:40 +00:00
|
|
|
---
|
|
|
|
- user: root
|
2014-04-25 19:49:47 +00:00
|
|
|
hosts: dnsservers
|
2014-01-11 18:00:40 +00:00
|
|
|
gather_facts: no
|
|
|
|
tasks:
|
|
|
|
- name: update dns-infrastructure git repo
|
2014-04-23 13:42:13 +00:00
|
|
|
git: repo=git@bitbucket.org:staticsafe/dns-infrastructure.git dest=/etc/bind/dns-infrastructure version=debian-master update=yes accept_hostkey=yes
|
2014-01-11 18:00:40 +00:00
|
|
|
notify:
|
|
|
|
- reload nameserver daemon
|
|
|
|
handlers:
|
2014-01-11 18:02:07 +00:00
|
|
|
- name: reload nameserver daemon
|
2014-01-11 18:35:01 +00:00
|
|
|
action: service name=bind9 state=reloaded
|