summaryrefslogtreecommitdiff
path: root/roles/x509/ownca/cert/prepare/templates
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-12-20 00:12:57 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-12-20 00:12:57 +0100
commite004236b4cfa9735cc898ea372dcb99c199dd4b4 (patch)
tree497e1e3dcbb7a223f2e5aaa9b5800319c03dd5d1 /roles/x509/ownca/cert/prepare/templates
parentadd mosquitto role (WIP) (diff)
rename: x509/ownca to x509/static-ca
Diffstat (limited to 'roles/x509/ownca/cert/prepare/templates')
-rw-r--r--roles/x509/ownca/cert/prepare/templates/updated.sh.j215
1 files changed, 0 insertions, 15 deletions
diff --git a/roles/x509/ownca/cert/prepare/templates/updated.sh.j2 b/roles/x509/ownca/cert/prepare/templates/updated.sh.j2
deleted file mode 100644
index f0757832..00000000
--- a/roles/x509/ownca/cert/prepare/templates/updated.sh.j2
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-{% 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 'group' in file %} -g {{ file.group }}{% endif %} /dev/null "{{ file.dest }}.new"
-{% for src in file.src %}
-cat "{{ lookup('vars', 'x509_certificate_path_' + src) }}" >> "{{ file.dest }}.new"
-{% endfor %}
-mv "{{ file.dest }}.new" "{{ file.dest }}"
-{% endfor %}
-{% endif %}
-{% if 'reload' in x509_certificate_renewal %}
-
-{{ x509_certificate_renewal.reload | trim }}
-{% endif %}