20 lines
462 B
Plaintext
20 lines
462 B
Plaintext
|
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 %}
|
||
|
;
|