From 4e16e3f6f461a4ebbe3592f1f79d43caf99ff115 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 10 Apr 2018 23:22:59 +0800 Subject: web/sites: Fix reload-nginx after generating sites --- roles/web/tasks/main.yml | 1 - roles/web/tasks/nginx-gensites.yml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml index 8d48e52..e3537ed 100644 --- a/roles/web/tasks/main.yml +++ b/roles/web/tasks/main.yml @@ -159,5 +159,4 @@ - name: nginx - re-generate sites include_tasks: nginx-gensites.yml - notify: reload-nginx tags: sites diff --git a/roles/web/tasks/nginx-gensites.yml b/roles/web/tasks/nginx-gensites.yml index 2b25a84..162a8f3 100644 --- a/roles/web/tasks/nginx-gensites.yml +++ b/roles/web/tasks/nginx-gensites.yml @@ -24,3 +24,4 @@ # NOTE: `with_fileglob` always operates from `files/` with_fileglob: - "../templates/sites/*.j2" + notify: reload-nginx -- cgit v1.2.2