Skip to content

Commit

Permalink
[ansible/venv] Use different fact
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Dec 6, 2023
1 parent 1d6e8e5 commit 0120c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
ansible.builtin.pip:
name: tflite_runtime
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: "{{ discovered_interpreter_python }} -m venv"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
extra_args: "-f 'https://whl.smartgic.io/'"
when: ovos_installer_cpu_is_capable | bool

- name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv without tflite_runtime
ansible.builtin.pip:
name: wheel
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: "{{ discovered_interpreter_python }} -m venv"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
when: not ovos_installer_cpu_is_capable | bool

- name: Install Open Voice OS in Python venv
Expand Down

0 comments on commit 0120c8e

Please sign in to comment.