system-config/playbooks/host_vars
Ian Wienand c9215801f0 Generate ssl check list directly from letsencrypt variables
This autogenerates the list of ssl domains for the ssl-cert-check tool
directly from the letsencrypt list.

The first step is the install-certcheck role that replaces the
puppet-ssl_cert_check module that does the same.  The reason for this
is so that during gate testing we can test this on the test
bridge.openstack.org server, and avoid adding another node as a
requirement for this test.

letsencrypt-request-certs is updated to set a fact
letsencrypt_certcheck_domains for each host that is generating a
certificate.  As described in the comments, this defaults to the first
host specified for the certificate and the listening port can be
indicated (if set, this new port value is stripped when generating
certs as is not necessary for certificate generation).

The new letsencrypt-config-certcheck role runs and iterates all
letsencrypt hosts to build the final list of domains that should be
checked.  This is then extended with the
letsencrypt_certcheck_additional_domains value that covers any hosts
using certificates not provisioned by letsencrypt using this
mechanism.

These additional domains are pre-populated from the openstack.org
domains in the extant check file, minus those openstack.org domain
certificates we are generating via letsencrypt (see
letsencrypt-create-certs/handlers/main.yaml).  Additionally, we
update some of the certificate variables in host_vars that are
listening on port !443.

As mentioned, bridge.openstack.org is placed in the new certcheck
group for gate testing, so the tool and config file will be deployed
to it.  For production, cacti is added to the group, which is where
the tool currently runs.  The extant puppet installation is disabled,
pending removal in a follow-on change.

Change-Id: Idbe084f13f3684021e8efd9ac69b63fe31484606
2020-05-20 14:27:14 +10:00
..
adns1.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
bridge.openstack.org.yaml Remove linaro-london cloud 2020-05-16 10:14:09 +10:00
etherpad01.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
gitea01.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
gitea02.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
gitea03.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
gitea04.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
gitea05.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
gitea06.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
gitea07.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
gitea08.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
graphite01.opendev.org.yaml Use handlers for letsencrypt cert updates 2019-05-14 08:14:51 +10:00
insecure-ci-registry01.opendev.org.yaml Generate ssl check list directly from letsencrypt variables 2020-05-20 14:27:14 +10:00
lists.katacontainers.io.yaml Merge "Remove base.yaml things from openstack_project::server" 2018-08-17 10:43:53 +00:00
lists.openstack.org.yaml Retire the Women-of-OpenStack list 2019-09-16 12:00:45 -05:00
meetpad01.opendev.org.yaml Add meetpad server 2020-03-25 07:44:24 -07:00
mirror01.bhs1.ovh.opendev.org.yaml Replace OVH CI mirrors 2020-05-12 19:10:21 +00:00
mirror01.ca-ymq-1.vexxhost.opendev.org Add vexxhost opendev.org mirrors 2020-05-16 10:14:25 +10:00
mirror01.dfw.rax.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
mirror01.iad.rax.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
mirror01.kna1.airship-citycloud.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
mirror01.ord.rax.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
mirror01.regionone.limestone.opendev.org Add limestone opendev.org server 2020-05-16 10:14:25 +10:00
mirror01.regionone.linaro-us.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
mirror01.sjc1.vexxhost.opendev.org Add vexxhost opendev.org mirrors 2020-05-16 10:14:25 +10:00
mirror01.us-east.openedge.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
mirror02.gra1.ovh.opendev.org.yaml Replace OVH CI mirrors 2020-05-12 19:10:21 +00:00
mirror02.mtl01.inap.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
nb01.opendev.org.yaml Add nb01/nb02 opendev servers 2020-05-07 09:10:26 +10:00
nb02.opendev.org.yaml Add nb01/nb02 opendev servers 2020-05-07 09:10:26 +10:00
nb04.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
ns1.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
ns2.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
refstack.openstack.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
review01.openstack.org.yaml Disable global Github replication 2020-04-29 14:37:23 +02:00
review-dev01.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
static01.opendev.org.yaml Use python3 for ansible 2020-04-28 11:54:15 -05:00
zuul01.openstack.org Run Zuul using Ansible and Containers 2020-04-24 09:18:44 -05:00