2c03fb1e98
If a host is offline, Ansible will not have set the required txt keys host variable for that host. When the task to update the dns master with new txt records runs, it will fail due to an undefined variable: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'acme_txt_required' This supplies a default value so that in that case, the task may proceed and other hosts will have their LE certs serviced. Change-Id: I62efbe086d801d803b2f2c3223ece8f608c668a1 |
||
---|---|---|
.. | ||
tasks | ||
templates | ||
README.rst |
Install authentication records for letsencrypt
Install TXT records to the acme.opendev.org
domain. This
role runs only the adns server, and assumes ownership of the
/var/lib/bind/zones/acme.opendev.org/zone.db
file. After
installation the nameserver is refreshed.
After this, letsencrypt-create-certs
can run on each
host to provision the certificates.
Role Variables
A global dictionary of TXT records to be installed. This is generated in a prior step on each host by the
letsencrypt-request-certs
role.