From cf3668c339848240565deee9ae003d9c5e955893 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 4 Mar 2018 19:05:12 +0800 Subject: add tags: zones, sites --- roles/dns/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/dns/tasks') 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 -- cgit v1.2.2