
acme.sh¶
Issue & renew the free certificates.
Usage¶
Configure the role.
# https://hub.docker.com/r/neilpang/acme.sh
acme_sh_image: neilpang/acme.sh
acme_sh_hostname: acme01
acme_sh_description: FreeDNS # default: Acme.sh
acme_sh_mail: info@example.com
acme_sh_data_dir: /usr/share/cert # default: "/usr/share/{{ acme_sh_hostname }}"
nginx_data_dir: /usr/share/nginx # default: "/usr/share/{{ nginx_hostname }}"
nginx_proxies: # See nginx role for reference
And include it in your playbook.
Docs¶
Use FreeDNS¶
To use the FreeDNS set dns: dns_freedns in the proxy config and define these vars:
acme_sh_freedns_uservault_acme_sh_freedns_password
Use Infomaniak API¶
To use the Infomaniak API set dns: dns_infomaniak in the proxy config and define the vault_dns_infomaniak_token var.
Use Vercel API¶
To use the Vercel API set dns: dns_vercel in the proxy config and define these the vault_dns_vercel_token var.