mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
Merge pull request #6152 from ryanpetrello/venv-realpath
respect home directory symlinks for BASE_VENV_PATH Reviewed-by: Bill Nottingham https://github.com/wenottingham
This commit is contained in:
commit
e34e88549f
@ -44,7 +44,7 @@ JOBOUTPUT_ROOT = '/var/lib/awx/job_status/'
|
|||||||
SCHEDULE_METADATA_LOCATION = '/var/lib/awx/.tower_cycle'
|
SCHEDULE_METADATA_LOCATION = '/var/lib/awx/.tower_cycle'
|
||||||
|
|
||||||
# Ansible base virtualenv paths and enablement
|
# Ansible base virtualenv paths and enablement
|
||||||
BASE_VENV_PATH = "/var/lib/awx/venv"
|
BASE_VENV_PATH = os.path.realpath("/var/lib/awx/venv")
|
||||||
ANSIBLE_VENV_PATH = os.path.join(BASE_VENV_PATH, "ansible")
|
ANSIBLE_VENV_PATH = os.path.join(BASE_VENV_PATH, "ansible")
|
||||||
|
|
||||||
# Tower base virtualenv paths and enablement
|
# Tower base virtualenv paths and enablement
|
||||||
|
Loading…
Reference in New Issue
Block a user