mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 11:50:18 +01:00
10 lines
228 B
YAML
Executable file
10 lines
228 B
YAML
Executable file
---
|
|
- 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
|