Skip to content
Snippets Groups Projects
Commit 0fb8b52f authored by Lars Beckers's avatar Lars Beckers
Browse files

acmebot: fix root_cert to be linked with configured key type suffix

parent 808b72b9
No related branches found
No related tags found
No related merge requests found
......@@ -61,12 +61,13 @@
- name: ensure the LE root certificates are linked
file:
path: "/etc/acmebot/{{ item }}"
# yamllint disable-line rule:line-length
path: "/etc/acmebot/root_cert{{ (acmebot_default_key_suffixes|combine(acmebot_key_suffixes))[item] }}.pem"
src: /etc/ssl/certs/ISRG_Root_X1.pem
state: link
with_items:
- root_cert.rsa.pem
- root_cert.ecdsa.pem
- rsa
- ecdsa
notify:
- update certificates
......@@ -79,7 +80,7 @@
- name: check for updates daily
file:
src: /opt/acmebot/update-check.sh
dest: /etc/cron.daily/acmebot-update-check.sH
dest: /etc/cron.daily/acmebot-update-check.sh
state: link
when: acmebot_enable_update_check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment