Remove support for non-venv deployments

It has been deprecated and untested since ussuri, time to move on.

Change-Id: Ieddda38b12d07a2a5c51650850b150dd82f332a9
This commit is contained in:
Dmitry Tantsur
2020-08-21 17:24:06 +02:00
parent 3bf9631ae5
commit 2cf21258af
41 changed files with 106 additions and 212 deletions

View File

@@ -24,6 +24,5 @@ wait_timeout: 1800
fact_gather_timeout: "{{ lookup('config', 'DEFAULT_GATHER_TIMEOUT', on_missing='skip') | default(omit, true) }}"
# Ensure that Ansible is using python interpreter and dependencies inside the bifrost virtual environment
enable_venv: true
bifrost_venv_dir: "{{ lookup('env', 'VENV') or '/opt/stack/bifrost' }}"
ansible_python_interpreter: "{{ bifrost_venv_dir + '/bin/python3' if enable_venv | bool else '/usr/bin/python3' }}"
ansible_python_interpreter: "{{ bifrost_venv_dir + '/bin/python3' }}"