Replace lego with acme_sh
This commit is contained in:
parent
82f65d396f
commit
0237271b65
24 changed files with 176 additions and 247 deletions
25
playbooks/roles/acme_sh/defaults/main.yml
Normal file
25
playbooks/roles/acme_sh/defaults/main.yml
Normal 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 }}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue