/home/zuul/src/opendev.org/opendev/system-config/playbooks/letsencrypt.yaml
Execution
Date 08 Apr 2026 21:36:49 +0000
Duration 00:00:25.05
Controller bridge99.opendev.org
User root
Versions
Ansible 2.15.13
ara 1.7.5 / 1.7.5
Python 3.10.12
Summary
2 Hosts
43 Tasks
43 Results
5 Plays
32 Files
0 Records

File: /home/zuul/src/opendev.org/opendev/system-config/playbooks/roles/letsencrypt-config-certcheck/tasks/build_le_domain_list.yaml

# We've seen the lookups of hosts in hostvars below fail to find the
# letsencrypt_certcheck_domains value. For some reason ansible doesn't
# record the value of our loopvar when failing an iteration (it does when
# the loop iteration succeeds) so we don't know where it is breaking. Add
# our own debugging here to work around this problem.
#
# The error described above may occur if LE fails on the host we are
# checking domains for. Ansible will stop on that host which doesn't build
# the necessary datastructures. Then when we try to set up certcheck we
# fail again in a more eye catching manner.
- name: Record host being looked up for le certcheck domains
  debug:
    msg: "Checking domains for {{ inv_hostname }}"

- name: Build SSL domain list
  set_fact:
    letsencrypt_certcheck_domains: '{{ letsencrypt_certcheck_domains + hostvars[inv_hostname]["letsencrypt_certcheck_domains"] }}'