From 2e6a7205e79fb72fc48659fbb089fd7219ecbc4c Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Tue, 14 Aug 2018 11:19:15 -0400 Subject: [PATCH] Fix broken conditional --- installer/roles/image_build/files/launch_awx_task.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/roles/image_build/files/launch_awx_task.sh b/installer/roles/image_build/files/launch_awx_task.sh index d67e6a5c81..b672e76f0b 100755 --- a/installer/roles/image_build/files/launch_awx_task.sh +++ b/installer/roles/image_build/files/launch_awx_task.sh @@ -10,7 +10,7 @@ ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c loca ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=$RABBITMQ_HOST port=5672" all ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c local -v -m postgresql_db --become-user $DATABASE_USER -a "name=$DATABASE_NAME owner=$DATABASE_USER login_user=$DATABASE_USER login_host=$DATABASE_HOST login_password=$DATABASE_PASSWORD port=$DATABASE_PORT" all -if [ ! -z "$AWX_SKIP_MIGRATIONS" ]; then +if [ -z "$AWX_SKIP_MIGRATIONS" ]; then awx-manage migrate --noinput fi