public-health-ch/ansible/roles/web/handlers/main.yml
2017-04-24 14:22:51 +02:00

11 lines
215 B
YAML

---
- name: restart nginx
service: name=nginx state=restarted
- name: validate nginx
command: nginx -t -c /etc/nginx/nginx.conf
changed_when: False
- name: reload nginx
service: name=nginx state=reloaded