From 7f38d12c556cfba038e4e1df688657cccda79d3d Mon Sep 17 00:00:00 2001 From: staticsafe Date: Fri, 25 Apr 2014 19:49:47 +0000 Subject: [PATCH] Merge slave and master playbooks into one for DNS. --- dns/{dns-slaves.yml => dns-configupdate.yml} | 2 +- dns/dns-master.yml | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) rename dns/{dns-slaves.yml => dns-configupdate.yml} (95%) delete mode 100644 dns/dns-master.yml 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