diff options
author | Aaron LI <aly@aaronly.me> | 2018-04-10 23:22:59 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-04-10 23:22:59 +0800 |
commit | 4e16e3f6f461a4ebbe3592f1f79d43caf99ff115 (patch) | |
tree | 3857ed1584ffc03d4d4eed88b8407d84d1184acf /roles | |
parent | 602c292ad8c4434d47a0f37c71db34dd24c50ec4 (diff) | |
download | ansible-dfly-vps-4e16e3f6f461a4ebbe3592f1f79d43caf99ff115.tar.bz2 |
web/sites: Fix reload-nginx after generating sites
Diffstat (limited to 'roles')
-rw-r--r-- | roles/web/tasks/main.yml | 1 | ||||
-rw-r--r-- | roles/web/tasks/nginx-gensites.yml | 1 |
2 files changed, 1 insertions, 1 deletions
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 |