ansible-role-nginx/handlers/main.yml
Alessandro Fael Garcia d9131f6387 Fix handlers
2018-07-18 15:32:56 -07:00

21 lines
386 B
YAML

---
- name: "(Handler: All OSs) Start NGINX"
service:
name: nginx
state: started
- 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