ansible-role-nginx/handlers/main.yml

24 lines
437 B
YAML
Raw Normal View History

2018-01-10 23:40:01 +01:00
---
- name: "(Handler: All OSs) Start NGINX"
2018-01-10 23:40:01 +01:00
service:
name: nginx
state: started
2018-08-21 10:24:25 +02:00
enabled: yes
2018-01-10 23:40:01 +01:00
- 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
2018-07-18 23:59:14 +02:00
- name: "(Handler: Debian/Ubuntu/CentOS/RedHat) Start NGINX Unit"
2018-04-07 01:32:48 +02:00
service:
2018-07-19 00:32:56 +02:00
name: unit
2018-07-18 23:59:14 +02:00
state: started
enabled: yes
2018-07-18 23:59:14 +02:00
- name: "(Handler: FreeBSD) Start NGINX Unit"
service:
name: unitd
2018-04-07 01:32:48 +02:00
state: started
enabled: yes