ansible-role-nginx/handlers/main.yml

13 lines
210 B
YAML
Raw Normal View History

2018-01-10 23:40:01 +01:00
---
# Start NGINX
- name: "(Handler: All OSs) Start NGINX"
2018-01-10 23:40:01 +01:00
service:
name: nginx
state: started
# Reload NGINX
- name: "(Handler: All OSs) Reload NGINX"
2018-01-10 23:40:01 +01:00
service:
name: nginx
state: reloaded