summaryrefslogtreecommitdiffstats
path: root/roles/acme/templates/acme.j2
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <r.oburka@gmail.com> 2016-11-27 18:18:59 +0100
committerGravatar Robin Obůrka <r.oburka@gmail.com> 2016-11-27 18:19:58 +0100
commit9e3d30552284725ed845b077e4de7ae9c1f4a62e (patch)
tree979c1114cc48c5ccf3c4f5ff3e235e1b9e7338fe /roles/acme/templates/acme.j2
parentnginx: Make DH params optional (diff)
downloadansible-roles-master.tar.xz
acme: Add support to specify reload command per certificateHEADmaster
Diffstat (limited to 'roles/acme/templates/acme.j2')
-rw-r--r--roles/acme/templates/acme.j25
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 %}