ansible/roles/acme/templates/acme.sh.request.j2

20 lines
462 B
Plaintext
Raw Normal View History

2018-09-10 22:52:41 +02:00
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 %}
;