diff options
-rw-r--r-- | roles/dns/tasks/main.yml | 2 | ||||
-rw-r--r-- | roles/web/tasks/main.yml | 1 |
2 files changed, 3 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 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 |