forked from ISTI-ansible-roles/ansible-roles
26 lines
537 B
Django/Jinja
26 lines
537 B
Django/Jinja
satisfy:
|
|
names:
|
|
{% for d in letsencrypt_acme_domains %}
|
|
- {{ d }}
|
|
{% endfor %}
|
|
|
|
request:
|
|
{% if letsencrypt_ocsp_must_staple %}
|
|
ocsp-must-staple: true
|
|
{% endif %}
|
|
challenge:
|
|
http-ports:
|
|
- {{ letsencrypt_acme_standalone_port }}
|
|
|
|
key:
|
|
type: {{ letsencrypt_acme_key_type }}
|
|
{% if letsencrypt_acme_key_type == 'rsa' %}
|
|
rsa-size: {{ letsencrypt_acme_rsa_key_size }}
|
|
{% else %}
|
|
ecdsa-curve: {{ letsencrypt_acme_ecdsa_curve }}
|
|
{% endif %}
|
|
{% if letsencrypt_specify_key_id %}
|
|
id: {{ letsencrypt_key_id }}
|
|
{% endif %}
|
|
|