ansible-role-nginx/handlers/main.yml

8 lines
169 B
YAML
Raw Normal View History

2014-03-07 15:51:16 +01:00
---
- name: restart nginx
service: name=nginx state=restarted
- name: validate nginx configuration
command: nginx -t -c /etc/nginx/nginx.conf
changed_when: False