Skip to content

Commit

Permalink
Reload nginx if the ssl cert/key change
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjj committed May 9, 2014
1 parent 3ad2a58 commit 1ab8f9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
- "{{ nginx_ssl_cert_name }}"
- "{{ nginx_ssl_key_name }}"
when: nginx_ssl
notify:
- reload nginx

- name: ensure nginx is configured
template: src=nginx_conf.j2 dest=/etc/nginx/nginx.conf group=root owner=root
Expand Down

0 comments on commit 1ab8f9b

Please sign in to comment.