Merge slave and master playbooks into one for DNS.

master
staticsafe 10 years ago
parent c9349cbdc8
commit 7f38d12c55

@ -1,6 +1,6 @@
---
- user: root
hosts: dns-slaves
hosts: dnsservers
gather_facts: no
tasks:
- name: update dns-infrastructure git repo

@ -1,12 +0,0 @@
---
- user: root
hosts: dns-master
gather_facts: no
tasks:
- name: update dns-infrastructure git repo
git: repo=git@bitbucket.org:staticsafe/dns-infrastructure.git dest=/src/dns-infrastructure version=debian-master update=yes accept_hostkey=yes
notify:
- reload nameserver daemon
handlers:
- name: reload nameserver daemon
action: service name=bind9 state=reloaded
Loading…
Cancel
Save