Run zuul project rename steps on a single scheduler

We were using the zuul-scheduler group but there are two schedulers now
and we don't want the zk backups, secret rename, and secret delete to
run twice on two different schedulers. Address this by fixing the rename
playbook to zuul02.opendev.org.

Change-Id: Ic741e97bd4c930cc27db00c2e037dc724a460ef7
This commit is contained in:
Clark Boylan 2022-01-24 13:07:14 -08:00
parent 8935a97801
commit 3135018e6b

View File

@ -63,7 +63,7 @@
shell: echo 'update projects set name="{{ item.new }}" where name="{{ item.old }}";' | mysql --defaults-file=/etc/mysql/debian.cnf storyboard
with_items: "{{ repos }}"
- hosts: zuul-scheduler
- hosts: zuul02.opendev.org
gather_facts: False
remote_user: root
tasks:
@ -139,7 +139,7 @@
- name: Start online reindex of changes
shell: "{{ gerrit_ssh_command }} index start changes --force"
- hosts: zuul-scheduler
- hosts: zuul02.opendev.org
gather_facts: False
remote_user: root
tasks: