You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
462 B
YAML
17 lines
462 B
YAML
---
|
|
|
|
- name: Issue certificate for {{ certificate_name }}
|
|
command:
|
|
cmd: >-
|
|
certbot certonly
|
|
--non-interactive
|
|
--cert-name {{ certificate_name | quote }}
|
|
--must-staple
|
|
--disable-hook-validation
|
|
--post-hook {{ ( '(' + (all_reload_commands | join(') && (')) + ')' ) | quote }}
|
|
{% for d in domains %}
|
|
--domain {{ d | quote }}
|
|
{% endfor %}
|
|
creates: "{{ acme_certificate_location }}"
|
|
tags: cert_change
|