diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-08-30 19:11:53 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-08-30 19:11:53 +0200 |
commit | ec1ad67ecc363802c0a1312afe767905cacb8fcf (patch) | |
tree | 55712208adb98411357d8645b8d68ad3c7681a5b /roles/x509/uacme | |
parent | fix tls config for monitoring/landingpage (diff) |
fix variable usage in x509 roles
Diffstat (limited to 'roles/x509/uacme')
-rw-r--r-- | roles/x509/uacme/cert/prepare/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/x509/uacme/cert/prepare/tasks/main.yml b/roles/x509/uacme/cert/prepare/tasks/main.yml index a83651b3..c1420369 100644 --- a/roles/x509/uacme/cert/prepare/tasks/main.yml +++ b/roles/x509/uacme/cert/prepare/tasks/main.yml @@ -96,7 +96,7 @@ - name: install systemd unit snippet when: "x509_certificate_renewal is defined and 'install' in x509_certificate_renewal" copy: - dest: "/etc/systemd/system/uacme-reconcile.service.d/{{ x509_certificate_name }}.conf" + dest: "/etc/systemd/system/uacme-reconcile.service.d/{{ uacme_cert_name }}.conf" content: | [Service] {% for path in (x509_certificate_renewal.install | map(attribute='dest') | map('dirname') | unique | list) %} @@ -107,6 +107,6 @@ - name: remove systemd unit snippet when: "x509_certificate_renewal is undefined or 'install' not in x509_certificate_renewal" file: - path: "/etc/systemd/system/uacme-reconcile.service.d/{{ x509_certificate_name }}.conf" + path: "/etc/systemd/system/uacme-reconcile.service.d/{{ uacme_cert_name }}.conf" state: absent notify: reload systemd |