mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Merge pull request #8001 from velzend/allow_skipping_provision_instance_and_register_queue
allow skipping provision instance and register queue Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -12,7 +12,13 @@ ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c loca
|
|||||||
|
|
||||||
if [ -z "$AWX_SKIP_MIGRATIONS" ]; then
|
if [ -z "$AWX_SKIP_MIGRATIONS" ]; then
|
||||||
awx-manage migrate --noinput
|
awx-manage migrate --noinput
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$AWX_SKIP_PROVISION_INSTANCE" ]; then
|
||||||
awx-manage provision_instance --hostname=$(hostname)
|
awx-manage provision_instance --hostname=$(hostname)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$AWX_SKIP_REGISTERQUEUE" ]; then
|
||||||
awx-manage register_queue --queuename=tower --instance_percent=100
|
awx-manage register_queue --queuename=tower --instance_percent=100
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user