Make my migrations fact be wrapped in quotes.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2018-05-17 18:32:48 +00:00
parent 0411e846d1
commit 9eb8e83976

View file

@ -77,7 +77,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 }}.phx2.fedoraproject.org']['current_migration_version'].stdout"
- name: Scale down to 0 pods
command: oc -n bodhi scale dc/bodhi-web --replicas=0
when: migrations