ansible-role-nginx/handlers/main.yml
Aleksei Sidorenko 4eba89095c
Update main.yml
2018-08-21 12:24:25 +04:00

22 lines
403 B
YAML

---
- name: "(Handler: All OSs) Start NGINX"
service:
name: nginx
state: started
enabled: yes
- name: "(Handler: All OSs) Reload NGINX"
service:
name: nginx
state: reloaded
- name: "(Handler: Debian/Ubuntu/CentOS/RedHat) Start NGINX Unit"
service:
name: unit
state: started
- name: "(Handler: FreeBSD) Start NGINX Unit"
service:
name: unitd
state: started