ansible-role-nginx/handlers/main.yml

18 lines
302 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
2018-04-07 01:32:48 +02:00
- name: "(Handler: All OSs) Start NGINX Unit"
service:
name: unit
state: started