mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-10-29 03:24:04 +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
|
||||
command: nginx -t
|
||||
notify: real-reload nginx
|
||||
changed_when: false
|
||||
|
||||
- name: real-reload nginx
|
||||
service: name=nginx state=reloaded
|
||||
|
||||
Reference in new issue
Block a user