update bodhi upgrade migration bool phx2 -> iad2

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
Ryan Lercho 2021-04-19 09:15:42 +10:00
parent 44ba9627eb
commit 31cc6b81ae

View file

@ -76,7 +76,7 @@
tasks:
- set_fact:
# This will be a bool that indicates whether we need to run migrations or not.
migrations: "'(head)' not in hostvars['bodhi-backend01{{ env_suffix }}.phx2.fedoraproject.org']['current_migration_version'].stdout"
migrations: "'(head)' not in hostvars['bodhi-backend01{{ env_suffix }}.iad2.fedoraproject.org']['current_migration_version'].stdout"
- name: Scale down to 0 pods
command: oc -n bodhi scale dc/bodhi-web --replicas=0
when: migrations