nginx -t has no side effect
parent
60a368f3e1
commit
2641777abe
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue