mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
remove ANSIBLE_USE_VENV and TOWER_USE_VENV
modern Tower deployments (both production and dev container-based) always build ansible and Tower in separate, distinct virtualenvs, not the global site-packages
This commit is contained in:
@@ -98,9 +98,7 @@ for setting in dir(this_module):
|
||||
include(optional('/etc/tower/settings.py'), scope=locals())
|
||||
include(optional('/etc/tower/conf.d/*.py'), scope=locals())
|
||||
|
||||
ANSIBLE_USE_VENV = True
|
||||
ANSIBLE_VENV_PATH = "/venv/ansible"
|
||||
TOWER_USE_VENV = True
|
||||
TOWER_VENV_PATH = "/venv/tower"
|
||||
|
||||
# If any local_*.py files are present in awx/settings/, use them to override
|
||||
|
||||
@@ -43,11 +43,9 @@ JOBOUTPUT_ROOT = '/var/lib/awx/job_status/'
|
||||
SCHEDULE_METADATA_LOCATION = '/var/lib/awx/.tower_cycle'
|
||||
|
||||
# Ansible base virtualenv paths and enablement
|
||||
ANSIBLE_USE_VENV = True
|
||||
ANSIBLE_VENV_PATH = "/var/lib/awx/venv/ansible"
|
||||
|
||||
# Tower base virtualenv paths and enablement
|
||||
TOWER_USE_VENV = True
|
||||
TOWER_VENV_PATH = "/var/lib/awx/venv/tower"
|
||||
|
||||
AWX_ISOLATED_USERNAME = 'awx'
|
||||
|
||||
Reference in New Issue
Block a user