Merge slave and master playbooks into one for DNS.
This commit is contained in:
parent
c9349cbdc8
commit
7f38d12c55
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- user: root
|
- user: root
|
||||||
hosts: dns-slaves
|
hosts: dnsservers
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
- name: update dns-infrastructure git repo
|
- 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…
Reference in New Issue