28 lines
831 B
Django/Jinja
28 lines
831 B
Django/Jinja
{{ ansible_managed | comment(decoration='# ') }}
|
|
|
|
# To generate the certificate, please use the following command
|
|
# certbot --config /etc/letsencrypt/conf.d/{{ item.certname }}.ini certonly
|
|
|
|
# Use a 4096 bit RSA key instead of 2048
|
|
rsa-key-size = 4096
|
|
|
|
# Always use the staging/testing server
|
|
# server = https://acme-staging.api.letsencrypt.org/directory
|
|
|
|
# Uncomment and update to register with the specified e-mail address
|
|
email = {{ item.mail }}
|
|
|
|
# Uncomment to use a text interface instead of ncurses
|
|
text = True
|
|
|
|
# Yes I want to sell my soul and my guinea pig.
|
|
agree-tos = True
|
|
|
|
# Use DNS-01 challenge
|
|
authenticator = dns-rfc2136
|
|
dns-rfc2136-credentials = /etc/letsencrypt/rfc2136.{{ item.certname }}.ini
|
|
dns-rfc2136-propagation-seconds = 30
|
|
|
|
# Wildcard the domain
|
|
cert-name = {{ item.certname }}
|
|
domains = {{ item.domains }}
|