Showing
2 changed files
with
10 additions
and
1 deletions
1 | --- | 1 | --- |
2 | -# handlers file for openresty | ||
2 | +# handlers file for openresty | ||
3 | + | ||
4 | +- name: validate nginx configuration | ||
5 | + command: "{{ path }}/nginx/sbin/nginx -t -c {{ path }}/nginx/nginx.conf" | ||
6 | + changed_when: False | ||
7 | + | ||
8 | +- name: reload nginx | ||
9 | + command: "{{ path }}/nginx/sbin/nginx -s reload" |
-
Please register or login to post a comment