ansible-infra/roles/shared-handlers/handlers/nginx.yml

7 lines
125 B
YAML

- name: Validate Nginx config
command: nginx -t
- name: Reload Nginx server
service:
name: nginx
state: reloaded