Make my migrations fact be wrapped in quotes.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
0411e846d1
commit
9eb8e83976
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@
|
||||||
tasks:
|
tasks:
|
||||||
- set_fact:
|
- set_fact:
|
||||||
# This will be a bool that indicates whether we need to run migrations or not.
|
# 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 }}.phx2.fedoraproject.org']['current_migration_version'].stdout"
|
||||||
- name: Scale down to 0 pods
|
- name: Scale down to 0 pods
|
||||||
command: oc -n bodhi scale dc/bodhi-web --replicas=0
|
command: oc -n bodhi scale dc/bodhi-web --replicas=0
|
||||||
when: migrations
|
when: migrations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue