mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 04:22:18 +08:00
update bodhi upgrade migration bool phx2 -> iad2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user