mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-20 03:29:01 +07:00
nginx -t has no side effect
This commit is contained in:
1 parent
60a368f3e1
commit
2641777abe
1 file changed
+1
@@ -4,6 +4,7 @@
|
|||||||
- name: reload nginx
|
- name: reload nginx
|
||||||
command: nginx -t
|
command: nginx -t
|
||||||
notify: real-reload nginx
|
notify: real-reload nginx
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: real-reload nginx
|
- name: real-reload nginx
|
||||||
service: name=nginx state=reloaded
|
service: name=nginx state=reloaded
|
||||||
|
|||||||
Reference in new issue
Block a user