forked from infra/ansible
20 lines
462 B
Django/Jinja
20 lines
462 B
Django/Jinja
NSUPDATE_KEY="{{ acme_nsupdate_key }}"
|
|
NSUPDATE_SERVER="{{ acme_nsupdate_server }}"
|
|
"{{ acme_home }}/acme.sh"
|
|
--home "{{ acme_home }}"
|
|
--reloadCmd "{{ acme_home }}/{{ inventory_hostname }}/reload.sh"
|
|
--log
|
|
--issue
|
|
-k 4096
|
|
-d "{{ inventory_hostname }}"
|
|
--dns dns_nsupdate
|
|
{% if acme_san_domains is defined %}
|
|
{% for domain in acme_san_domains %}
|
|
-d "{{ domain }}"
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% if acme_staging is defined and acme_staging %}
|
|
--staging
|
|
{% endif %}
|
|
;
|