Vagrant: run ansible-playbook from venv
The VENV env variable is defined but not used, if we don't specify the correct path for the ansible-playbook binary, the task will fail. Change-Id: I425445fc3c716d085ba9c93fa253b649ee7c0438
This commit is contained in:
parent
80386cd125
commit
3b1fd3c01d
@ -99,7 +99,7 @@
|
||||
become: yes
|
||||
|
||||
- name: Install Bifrost
|
||||
command: ansible-playbook -vvvv -i inventory/target install.yaml -e network_interface={{network_interface}} -e ansible_python_interpreter="/usr/bin/python3" -e download_ipa=true -e use_cirros=true -e enable_venv=true
|
||||
command: ${VENV}/bin/ansible-playbook -vvvv -i inventory/target install.yaml -e network_interface={{network_interface}} -e ansible_python_interpreter="/usr/bin/python3" -e download_ipa=true -e use_cirros=true -e enable_venv=true
|
||||
environment:
|
||||
PATH: "{{ansible_env.HOME}}/.local/bin:{{ansible_env.PATH}}"
|
||||
VENV: "/opt/stack/bifrost"
|
||||
|
Loading…
Reference in New Issue
Block a user