Replace lego with acme_sh

This commit is contained in:
Tobias Reisinger 2026-03-28 20:21:42 +01:00
parent 82f65d396f
commit 0237271b65
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
24 changed files with 176 additions and 247 deletions

View file

@ -0,0 +1,25 @@
---
acme_sh_eab_key_id: "{{ undef() }}"
acme_sh_eab_hmac_key: "{{ undef() }}"
acme_sh_acmedns_user: "{{ undef() }}"
acme_sh_acmedns_pass: "{{ undef() }}"
acme_sh_acmedns_subd: "{{ undef() }}"
acme_sh_ntfy_topic: "{{ undef() }}"
acme_sh_ntfy_token: "{{ undef() }}"
acme_sh_all_certificates: "{{ all_services | services_get_attr('certificates') | flatten }}"
acme_sh_certificates: "{{ host_services | services_get_attr('certificates') | flatten }}"
acme_sh_unwanted_certificates: "{{ acme_sh_all_certificates | difference(acme_sh_certificates) }}"
acme_sh_env:
LE_WORKING_DIR: "{{ certificates_path }}"
ACMEDNS_BASE_URL: "https://{{ acme_dns.host }}"
ACMEDNS_USERNAME: "{{ acme_sh_acmedns_user | mandatory }}"
ACMEDNS_PASSWORD: "{{ acme_sh_acmedns_pass | mandatory }}"
ACMEDNS_SUBDOMAIN: "{{ acme_sh_acmedns_subd | mandatory }}"
NTFY_URL: "https://push.serguzim.me"
NTFY_TOPIC: "{{ acme_sh_ntfy_topic | mandatory }}"
NTFY_TOKEN: "{{ acme_sh_ntfy_token | mandatory }}"