Skip to content

Commit 0120c8e

Browse files
committed
[ansible/venv] Use different fact
1 parent 1d6e8e5 commit 0120c8e

File tree

1 file changed

+2
-2
lines changed
  • ansible/roles/ovos_installer/tasks/virtualenv

1 file changed

+2
-2
lines changed

ansible/roles/ovos_installer/tasks/virtualenv/venv.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
ansible.builtin.pip:
1919
name: tflite_runtime
2020
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
21-
virtualenv_command: "{{ discovered_interpreter_python }} -m venv"
21+
virtualenv_command: "{{ ansible_python.executable }} -m venv"
2222
extra_args: "-f 'https://whl.smartgic.io/'"
2323
when: ovos_installer_cpu_is_capable | bool
2424

2525
- name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv without tflite_runtime
2626
ansible.builtin.pip:
2727
name: wheel
2828
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
29-
virtualenv_command: "{{ discovered_interpreter_python }} -m venv"
29+
virtualenv_command: "{{ ansible_python.executable }} -m venv"
3030
when: not ovos_installer_cpu_is_capable | bool
3131

3232
- name: Install Open Voice OS in Python venv

0 commit comments

Comments
 (0)