mirror of
https://github.com/ruanbekker/dev-environment-vagrant.git
synced 2025-07-03 22:51:34 +02:00
15 lines
279 B
YAML
15 lines
279 B
YAML
---
|
|
# handlers file for website
|
|
- name: restart nginx
|
|
service:
|
|
name: nginx
|
|
state: restarted
|
|
|
|
- name: validate nginx configuration
|
|
command: nginx -t -c /etc/nginx/nginx.conf
|
|
changed_when: false
|
|
|
|
- name: reload nginx
|
|
service:
|
|
name: nginx
|
|
state: reloaded |