ansible-nginx/handlers/main.yml

10 lines
155 B
YAML

---
# Reload wrapper
- name: reload nginx
command: nginx -t
notify: real-reload nginx
- name: real-reload nginx
service: name=nginx state=reloaded