ansible-config/roles/nginx/handlers/main.yml

7 lines
130 B
YAML

---
- name: restart nginx
service: name=nginx state=restarted
- name: reload nginx config
service: name=nginx state=reloaded