summaryrefslogtreecommitdiffstats
path: root/tools/ansible/roles/dockerfile/files
diff options
context:
space:
mode:
authorShane McDonald <me@shanemcd.com>2021-04-03 17:53:41 +0200
committerShane McDonald <me@shanemcd.com>2021-04-03 17:53:41 +0200
commitf985376d64d5556c16032d9918c38f56bdf8ae2a (patch)
tree0dd324cca28a2537c9ebe58daae5b45016443b2d /tools/ansible/roles/dockerfile/files
parentMerge pull request #9737 from jlmitch5/workflowConvergence (diff)
downloadawx-f985376d64d5556c16032d9918c38f56bdf8ae2a.tar.xz
awx-f985376d64d5556c16032d9918c38f56bdf8ae2a.zip
Remove invocation of Ansible from launch script
This was missed in the initial EE PR. Ansible is no longer installed inside of the web & task containers, causing this to show up in the container logs: ``` /usr/bin/launch_awx.sh: line 18: ansible: command not found /usr/bin/launch_awx.sh: line 19: ansible: command not found ```
Diffstat (limited to 'tools/ansible/roles/dockerfile/files')
-rwxr-xr-xtools/ansible/roles/dockerfile/files/launch_awx.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/ansible/roles/dockerfile/files/launch_awx.sh b/tools/ansible/roles/dockerfile/files/launch_awx.sh
index 7b5e86f0bd..cd9f573533 100755
--- a/tools/ansible/roles/dockerfile/files/launch_awx.sh
+++ b/tools/ansible/roles/dockerfile/files/launch_awx.sh
@@ -13,13 +13,6 @@ if [ -n "${AWX_KUBE_DEVEL}" ]; then
export SDB_NOTIFY_HOST=$MY_POD_IP
fi
-source /etc/tower/conf.d/environment.sh
-
-ANSIBLE_REMOTE_TEMP=/tmp ANSIBLE_LOCAL_TEMP=/tmp ansible -i "127.0.0.1," -c local -v -m wait_for -a "host=$DATABASE_HOST port=$DATABASE_PORT" 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
-
awx-manage collectstatic --noinput --clear
-unset $(cut -d = -f -1 /etc/tower/conf.d/environment.sh)
-
supervisord -c /etc/supervisord.conf