ansible-playbooks/dns/dns-slaves.yml

13 lines
353 B
YAML
Raw Normal View History

---
- 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:
2014-01-11 18:02:07 +00:00
- name: reload nameserver daemon
2014-01-11 18:34:20 +00:00
action: name=bind9 state=reloaded