diff --git a/dns/dns-slaves.yml b/dns/dns-configupdate.yml similarity index 95% rename from dns/dns-slaves.yml rename to dns/dns-configupdate.yml index 0df6fd8..a9ab123 100644 --- a/dns/dns-slaves.yml +++ b/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 diff --git a/dns/dns-master.yml b/dns/dns-master.yml deleted file mode 100644 index 50ea705..0000000 --- a/dns/dns-master.yml +++ /dev/null @@ -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