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

6 lines
130 B
YAML

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