ansible/roles/nginx/handlers/main.yaml

15 lines
269 B
YAML
Raw Normal View History

2019-10-27 23:32:25 +00:00
---
- 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: