summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Rominger <arominge@redhat.com>2024-12-09 15:07:17 +0100
committerGitHub <noreply@github.com>2024-12-09 15:07:17 +0100
commit91d92a66368f08e43d0fcbb14c8ec00ec1623951 (patch)
tree66b9306c55719fd1dbe0cdfb3c5c2a7b1de03aaf
parentCreate a new pytest folder for live system testing with normal services (#15688) (diff)
downloadawx-91d92a66368f08e43d0fcbb14c8ec00ec1623951.tar.xz
awx-91d92a66368f08e43d0fcbb14c8ec00ec1623951.zip
Make dev script work in combined environment (#15684)
-rwxr-xr-xtools/docker-compose/bootstrap_development.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/docker-compose/bootstrap_development.sh b/tools/docker-compose/bootstrap_development.sh
index aa9016b4dc..0f40881af1 100755
--- a/tools/docker-compose/bootstrap_development.sh
+++ b/tools/docker-compose/bootstrap_development.sh
@@ -30,12 +30,12 @@ if [ ! -d "/awx_devel/awx/ui/build/awx" ]; then
cp /awx_devel/awx/ui/placeholder_index_awx.html /awx_devel/awx/ui/build/awx/index_awx.html
fi
-if output=$(awx-manage createsuperuser --noinput --username=admin --email=admin@localhost 2> /dev/null); then
+if output=$(ANSIBLE_REVERSE_RESOURCE_SYNC=false awx-manage createsuperuser --noinput --username=admin --email=admin@localhost 2> /dev/null); then
echo $output
fi
echo "Admin password: ${DJANGO_SUPERUSER_PASSWORD}"
-awx-manage create_preload_data
+ANSIBLE_REVERSE_RESOURCE_SYNC=false awx-manage create_preload_data
awx-manage register_default_execution_environments
awx-manage provision_instance --hostname="$(hostname)" --node_type="$MAIN_NODE_TYPE"