summaryrefslogtreecommitdiff
path: root/roles/x509/acmetool/cert/prepare
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-10-26 13:32:45 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-10-26 13:32:45 +0200
commita91cbe9926d1dc880fc1b6936e408c0ba179d201 (patch)
treeaa1f32882642abf4eea7a3f1c128ddfaa171bfd9 /roles/x509/acmetool/cert/prepare
parentupgrade ch-ap, ch-router et-al to openwrt 23.05 (diff)
x509/certs: fix renewal scripts
Diffstat (limited to 'roles/x509/acmetool/cert/prepare')
-rw-r--r--roles/x509/acmetool/cert/prepare/templates/reload.sh.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/x509/acmetool/cert/prepare/templates/reload.sh.j2 b/roles/x509/acmetool/cert/prepare/templates/reload.sh.j2
index 9b3da000..d707357b 100644
--- a/roles/x509/acmetool/cert/prepare/templates/reload.sh.j2
+++ b/roles/x509/acmetool/cert/prepare/templates/reload.sh.j2
@@ -16,7 +16,7 @@ while read name; do
{% if 'install' in x509_certificate_renewal %}
{% for file in x509_certificate_renewal.install %}
- install{% if 'mode' in file %} -m {{ file.mode }}{% endif %}{% if 'owner' in file %} -o {{ file.owner }}{% endif %}{% if 'owner' in file %} -g {{ file.group }}{% endif %} /dev/null "{{ file.dest }}.new"
+ install{% if 'mode' in file %} -m {{ file.mode }}{% endif %}{% if 'owner' in file %} -o {{ file.owner }}{% endif %}{% if 'group' in file %} -g {{ file.group }}{% endif %} /dev/null "{{ file.dest }}.new"
{% for src in file.src %}
cat "{{ hostvars[inventory_hostname]['x509_certificate_path_' + src] }}" >> "{{ file.dest }}.new"
{% endfor %}