Hopefully final venv fixes

Also uncapped the proliantutils maximum as upper
constraints is in place.

Set the ansible python interpreter as well for the
main process launch, which magically resolved
venv dependency issues.

Change-Id: Iae06a87e7dbcf76e4be7453e57ec5fd75389caa7
This commit is contained in:
Julia Kreger 2020-01-09 14:01:40 -08:00
parent 355e998f1f
commit 6677bb39f6
2 changed files with 2 additions and 2 deletions

View File

@ -43,14 +43,13 @@
- name: "proliantutils - Install from pip"
include: pip_install.yml
package=proliantutils<2.9.0
package=proliantutils
state=present
environment: "{{ venv }}"
when: skip_install is not defined
- name: "Install iSCSI client and dependencies if iscsi deploy interface is enabled"
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
environment: "{{ venv }}"
with_items: "{{ iscsi_required_packages }}"
when: skip_install is not defined and 'iscsi' in enabled_deploy_interfaces

View File

@ -184,6 +184,7 @@ export BIFROST_INVENTORY_SOURCE=${BAREMETAL_DATA_FILE}
${ANSIBLE} -vvvv \
-i inventory/bifrost_inventory.py \
${TEST_PLAYBOOK} \
-e ansible_python_interpreter="${ANSIBLE_PYTHON_INTERP}" \
-e use_cirros=${USE_CIRROS} \
-e testing_user=${TESTING_USER} \
-e test_vm_num_nodes=${TEST_VM_NUM_NODES} \