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

8 lines
124 B
YAML

---
- name: Reload nginx
service: name=nginx state=reloaded
- name: Restart nginx
service: name=nginx state=restarted