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