Use virtualenv_path to set ansible_python_interpreter
Prior to Ansible 2.5 Jinja expansion was not supported in this variable. Now that kayobe depends on 2.5, we can use the correct path. Change-Id: I85f62ae80a8751a356cee5a56bc01493ae04d6f4 Story: 2002010 Task: 19648
This commit is contained in:
parent
ad54510e35
commit
5815aa7332
@ -1,3 +1,3 @@
|
||||
---
|
||||
# Use a virtual environment for remote operations.
|
||||
ansible_python_interpreter: /opt/kayobe/venvs/kayobe/bin/python
|
||||
ansible_python_interpreter: "{{ virtualenv_path }}/kayobe/bin/python"
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
# Use a virtual environment for remote operations.
|
||||
ansible_python_interpreter: "{{ virtualenv_path }}/kayobe/bin/python"
|
@ -1,3 +1,3 @@
|
||||
---
|
||||
# Use a virtual environment for remote operations.
|
||||
ansible_python_interpreter: /opt/kayobe/venvs/kayobe/bin/python
|
||||
ansible_python_interpreter: "{{ virtualenv_path }}/kayobe/bin/python"
|
||||
|
Loading…
Reference in New Issue
Block a user