# 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 domainsdebug:msg:"Checkingdomainsfor{{inv_hostname}}"-name:Build SSL domain listset_fact:letsencrypt_certcheck_domains:'{{letsencrypt_certcheck_domains+hostvars[inv_hostname]["letsencrypt_certcheck_domains"]}}'