e70c1e581c
Currently we define the letsencrypt certs for each host in its individual host variables. With recent work we have a trusted CA and SAN names setup in our testing environment; introducing the possibility that we could accidentally reference the production host during testing (both have valid certs, as far as the testing hosts are concerned). To avoid this, we can use our naming scheme to move our testing hosts to "99" and avoid collision with the production hosts. As a bonus, this really makes you think more about your group/host split to get things right and keep the environment as abstract as possible. One example of this is that with letsencrypt certificates defined in host vars, testing and production need to use the same hostname to get the right certificates created. Really, this should be group-level information so it applies equally to host01 and host99. To cover "hostXX.opendev.org" as a SAN we can include the inventory_hostname in the group variables. This updates one of the more tricky hosts, static, as a proof of concept. We rename the handlers to be generic, and update the testing targets. Change-Id: Id98768e29a06cebaf645eb75b39e4dc5adb8830d
74 lines
1.9 KiB
YAML
74 lines
1.9 KiB
YAML
letsencrypt_certs:
|
|
static-opendev-org-main:
|
|
- static.opendev.org
|
|
- '{{ inventory_hostname }}'
|
|
- files.openstack.org
|
|
- static.openstack.org
|
|
static-ask-openstack-org:
|
|
- ask.openstack.org
|
|
static-docs-airshipit-org:
|
|
- docs.airshipit.org
|
|
static-ci-openstack-org:
|
|
- ci.openstack.org
|
|
static-cinder-openstack-org:
|
|
- cinder.openstack.org
|
|
static-developer-openstack-org:
|
|
- developer.openstack.org
|
|
static-devstack-org:
|
|
- devstack.org
|
|
- www.devstack.org
|
|
static-docs-opendev-org:
|
|
- docs.opendev.org
|
|
static-docs-openstack-org:
|
|
- docs.openstack.org
|
|
static-docs-starlingx-io:
|
|
- docs.starlingx.io
|
|
static-eavesdrop-openstack-org:
|
|
- eavesdrop.openstack.org
|
|
static-glance-openstack-org:
|
|
- glance.openstack.org
|
|
static-git-airshipit-org:
|
|
- git.airshipit.org
|
|
static-git-openstack-org:
|
|
- git.openstack.org
|
|
static-git-starlingx-io:
|
|
- git.starlingx.io
|
|
static-git-zuul-ci-org:
|
|
- git.zuul-ci.org
|
|
static-governance-openstack-org:
|
|
- governance.openstack.org
|
|
static-horizon-openstack-org:
|
|
- horizon.openstack.org
|
|
static-keystone-openstack-org:
|
|
- keystone.openstack.org
|
|
static-nova-openstack-org:
|
|
- nova.openstack.org
|
|
static-meetings-opendev-org:
|
|
- meetings.opendev.org
|
|
static-planet-openstack-org:
|
|
- planet.openstack.org
|
|
static-service-types-openstack-org:
|
|
- service-types.openstack.org
|
|
static-security-openstack-org:
|
|
- security.openstack.org
|
|
static-specs-openstack-org:
|
|
- specs.openstack.org
|
|
static-summit-openstack-org:
|
|
- summit.openstack.org
|
|
static-swift-openstack-org:
|
|
- swift.openstack.org
|
|
static-releases-openstack-org:
|
|
- releases.openstack.org
|
|
static-tarballs-opendev-org:
|
|
- tarballs.opendev.org
|
|
static-tarballs-openstack-org:
|
|
- tarballs.openstack.org
|
|
static-zuul-ci-org:
|
|
- zuul-ci.org
|
|
- www.zuul-ci.org
|
|
- zuulci.org
|
|
- www.zuulci.org
|
|
static-gating-dev:
|
|
- gating.dev
|
|
- www.gating.dev
|