6088c788f1
Minor updates from review comments for I1f66da614751a29cc565b37cdc9ff34d70fdfd3f Change-Id: Ie011f768345ca3d8fdcc0b833f5645a635983d64
27 lines
532 B
YAML
27 lines
532 B
YAML
- set_fact:
|
|
acme_txt_required: []
|
|
|
|
- name: Show cert list
|
|
debug:
|
|
var: letsencrypt_certs
|
|
|
|
# Handle multiple certs for a single host; like
|
|
#
|
|
# letsencrypt_certs:
|
|
# main:
|
|
# hostname.opendev.org
|
|
# secondary:
|
|
# foo.opendev.org
|
|
# baz.opendev.org
|
|
#
|
|
# All required TXT keys are put into acme_txt_required
|
|
|
|
- name: Generate certificate creation/renewal requests
|
|
include_tasks: acme.yaml
|
|
loop: "{{ query('dict', letsencrypt_certs) }}"
|
|
loop_control:
|
|
loop_var: cert
|
|
|
|
- debug:
|
|
var: acme_txt_required
|