Commit 06b1979f authored by Mattia Rizzolo's avatar Mattia Rizzolo

nginx: don't install the sudoers bit, ssl-keys role already takes care of it

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 2486951d
...@@ -49,12 +49,6 @@ ...@@ -49,12 +49,6 @@
append: yes append: yes
- name: Allow the ssl-keys user to reload nginx
template:
src: sudoers-ssl-keys
dest: /etc/sudoers.d/nginx-ssl-keys
- name: Add an hook to reload nginx when there are new ssl keys - name: Add an hook to reload nginx when there are new ssl keys
template: template:
src: reload-nginx.sh src: reload-nginx.sh
......
#
# {{ ansible_managed }}
#
ssl-keys ALL=(root) NOPASSWD: /bin/systemctl reload nginx.service
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