update bodhi upgrade migration bool phx2 -> iad2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
44ba9627eb
commit
31cc6b81ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue