Add nginx role

This commit is contained in:
2019-10-27 18:32:25 -05:00
parent 761a515e0f
commit 7e6e1e157c
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,14 @@
---
- 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: