ansible-role-nginx/handlers/main.yml
2018-04-06 16:32:48 -07:00

18 lines
302 B
YAML

---
# Start NGINX
- name: "(Handler: All OSs) Start NGINX"
service:
name: nginx
state: started
# Reload NGINX
- name: "(Handler: All OSs) Reload NGINX"
service:
name: nginx
state: reloaded
- name: "(Handler: All OSs) Start NGINX Unit"
service:
name: unit
state: started