mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 02:03:09 +02:00
16 lines
284 B
YAML
16 lines
284 B
YAML
---
|
|
|
|
- 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
|