mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-05 12:22:09 +07:00
nginx -t has no side effect
This commit is contained in:
@@ -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