Merge slave and master playbooks into one for DNS.

This commit is contained in:
staticsafe 2014-04-25 19:49:47 +00:00
parent c9349cbdc8
commit 7f38d12c55
2 changed files with 1 additions and 13 deletions

View File

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

View File

@ -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