ansible-tower-isolated RPM

This commit is contained in:
Shane McDonald
2017-06-23 08:48:39 -04:00
parent 4e24a77370
commit 4a8e8d4fbf
3 changed files with 12 additions and 4 deletions

4
tools/scripts/tower-expect Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
AWX_LIB=`/var/lib/awx/venv/tower/bin/python -c 'import os, awx; print os.path.dirname(awx.__file__)'`
. /var/lib/awx/venv/tower/bin/activate
exec env TOWER_LIB_DIRECTORY=$AWX_LIB/lib $AWX_LIB/main/isolated/run.py "$@"