diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-11-27 18:18:59 +0100 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-11-27 18:19:58 +0100 |
commit | 9e3d30552284725ed845b077e4de7ae9c1f4a62e (patch) | |
tree | 979c1114cc48c5ccf3c4f5ff3e235e1b9e7338fe /roles/acme/templates/acme.j2 | |
parent | nginx: Make DH params optional (diff) | |
download | ansible-roles-9e3d30552284725ed845b077e4de7ae9c1f4a62e.tar.xz |
Diffstat (limited to 'roles/acme/templates/acme.j2')
-rw-r--r-- | roles/acme/templates/acme.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/acme/templates/acme.j2 b/roles/acme/templates/acme.j2 index dc61823..54f2bf0 100644 --- a/roles/acme/templates/acme.j2 +++ b/roles/acme/templates/acme.j2 @@ -1 +1,6 @@ acme ALL=(ALL) NOPASSWD: {{ acme_reload_cmd }} +{% for item in acme_issue_certs %} +{% if item.reloadcmd is defined %} +acme ALL=(ALL) NOPASSWD: {{ item.reloadcmd }} +{% endif %} +{% endfor %} |