Browse Source

Merge slave and master playbooks into one for DNS.

master
staticsafe 8 years ago
parent
commit
7f38d12c55
  1. 2
      dns/dns-configupdate.yml
  2. 12
      dns/dns-master.yml

2
dns/dns-slaves.yml → dns/dns-configupdate.yml

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

12
dns/dns-master.yml

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