ansible-playbooks/dns/dns-master.yml

13 lines
397 B
YAML
Raw Normal View History

2014-01-11 17:45:36 +00:00
---
- user: root
2014-01-11 17:47:14 +00:00
hosts: dns-master
2014-01-11 17:45:36 +00:00
gather_facts: no
tasks:
- name: update dns-infrastructure git repo
2014-04-12 18:08:39 +00:00
git: repo=git@bitbucket.org:staticsafe/dns-infrastructure.git dest=/src/dns-infrastructure version=debian-master update=yes accept_hostkey=yes
2014-01-11 17:45:36 +00:00
notify:
- reload nameserver daemon
handlers:
- name: reload nameserver daemon
2014-04-12 18:06:33 +00:00
action: service name=bind9 state=reloaded