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 ++ roles/web/tasks/main.yml | 1 + 2 files changed, 3 insertions(+) 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 diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml index e2b71b7..c1d6b17 100644 --- a/roles/web/tasks/main.yml +++ b/roles/web/tasks/main.yml @@ -136,3 +136,4 @@ - name: nginx - re-generate sites include_tasks: nginx-gensites.yml notify: reload-nginx + tags: sites -- cgit v1.2.2