mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
15
roles/nginx/handlers/main.yml
Normal file
15
roles/nginx/handlers/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- name: reload nginx
|
||||
command: nginx -t
|
||||
notify: really reload nginx
|
||||
|
||||
- name: really reload nginx
|
||||
service: name=nginx state=reloaded
|
||||
|
||||
- name: restart nginx
|
||||
command: nginx -t
|
||||
notify: really restart nginx
|
||||
|
||||
- name: really restart nginx
|
||||
service: name=nginx state=restarted
|
Reference in New Issue
Block a user