aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-04 19:05:12 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:35:08 +0800
commitcf3668c339848240565deee9ae003d9c5e955893 (patch)
tree461849b4b64fd5601c462366590080bc5b11fb4d /roles/dns
parentf8b515e0218e5011044f5e2ebc49bcdc4a0b8e7a (diff)
downloadansible-dfly-vps-cf3668c339848240565deee9ae003d9c5e955893.tar.bz2
add tags: zones, sites
Diffstat (limited to 'roles/dns')
-rw-r--r--roles/dns/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml
index d2d6289..71b4b78 100644
--- a/roles/dns/tasks/main.yml
+++ b/roles/dns/tasks/main.yml
@@ -66,6 +66,7 @@
- name: NSD - get the list of zone files
set_fact:
zonefiles: "{{ lookup('fileglob', '../templates/zones/*.j2', wantlist=True) }}"
+ tags: zones
- debug: var=zonefiles
@@ -73,6 +74,7 @@
include_tasks: nsd-zone.yml zonefile={{ item }}
with_items: "{{ zonefiles }}"
notify: reload-nsd
+ tags: zones
# NOTE: requires variable `zonefiles`
- name: NSD - generate configuration