zuul reboot: pin to bridge01.opendev.org

This job is special in that we want it to install only on the
production bastion host.  Pin it directly to the current host, and
leave a note about changing it when the bridge node is updated.

Change-Id: I15303daedef62d3002f0126c7782c59cc6ad2a8e
This commit is contained in:
Ian Wienand 2022-11-04 09:33:15 +11:00
parent 0c90c128d7
commit bda420d801
No known key found for this signature in database

View File

@ -33,6 +33,16 @@
include_role:
name: rax-dns-backup
# NOTE: we have hard-coded the active bridge here because we only want
# to install this on the currently active production bridge that will
# execute this reboot cycle (we don't have two bastion hosts usually,
# but if we are bootstrapping a new one there may be a period where
# both have credentials). For testing we also allow it to install on
# the system-config-run host -- but it will not have the credentials
# to actually do anything there if it does fire.
- hosts: bridge01.opendev.org:bridge99.opendev.org:!disabled
name: Install reboot jobs
tasks:
- name: Automated Zuul cluster reboots and updates
# Note this is run via cron because a zuul job can't run this playbook
# as the playbook relies on all jobs ending for graceful stops on the