Commit c13bbc7
authored
Fix python interpreter for scenario init (#4111)
When using Pyenv Virtualenv the ANSIBLE_PYTHON_INTERPRETER passed to
run_command is `auto_silent` and does not resolve to the Python
interpreter used by the virtualenv.
Passing instead `sys.executable` seems solving the issue.1 parent eb010f4 commit c13bbc7
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
0 commit comments