Skip to content

Commit

Permalink
Merge pull request #6152 from ryanpetrello/venv-realpath
Browse files Browse the repository at this point in the history
respect home directory symlinks for BASE_VENV_PATH

Reviewed-by: Bill Nottingham
             https://github.com/wenottingham
  • Loading branch information
2 parents 4fcd2c5 + b5e5fea commit e34e885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
SCHEDULE_METADATA_LOCATION = '/var/lib/awx/.tower_cycle'

# 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")

# Tower base virtualenv paths and enablement
Expand Down

0 comments on commit e34e885

Please sign in to comment.