ansible/roles/nginx/handlers/main.yaml
2019-10-27 18:32:25 -05:00

15 lines
269 B
YAML

---
- name: reload nginx
service:
name: "{{ nginx_service_name }}"
state: reloaded
when: nginx_service_enabled
- name: restart nginx
service:
name: "{{ nginx_service_name }}"
state: restarted
when: nginx_service_enabled
# vim:ft=yaml.ansible: