diff options
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 %} |