Authored by chunhua.zhang

add

---
# handlers file for openresty
\ No newline at end of file
# handlers file for openresty
- name: validate nginx configuration
command: "{{ path }}/nginx/sbin/nginx -t -c {{ path }}/nginx/nginx.conf"
changed_when: False
- name: reload nginx
command: "{{ path }}/nginx/sbin/nginx -s reload"
\ No newline at end of file
... ...
... ... @@ -19,3 +19,5 @@
template:
src: nginx.conf.j2
dest: "{{ path }}/nginx/conf/nginx.conf"
notify:
- reload nginx
... ...