Commit 6fe70609 authored by Mattia Rizzolo's avatar Mattia Rizzolo

nginx: fix the ssl reload thing

FIXME: {{ ssl_home }} is not defined in this role yet
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 1e9daf83
......@@ -44,8 +44,8 @@
- name: Add an hook to reload nginx when there are new ssl keys
template:
src: reload-nginx.sh
dest: /usr/local/share/ssl-keys/hooks/nginx.sh
dest: "{{ ssl_home }}/hooks"
mode: 0550
mode: 0755
owner: root
group: ssl-keys
......@@ -3,4 +3,4 @@
# {{ ansible_managed }}
#
sudo /bin/systemctl reload nginx.service
sudo service nginx reload
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment