Skip to content

Commit

Permalink
[ansible] Fix some issue related to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Dec 22, 2024
1 parent 3ec7db8 commit e5f42c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ collections:
- name: kewlfft.aur
version: 0.11.1
- name: moreati.uv
version: 0.0.2
src: git+https://github.com/goldyfruit/ansible-uv
10 changes: 5 additions & 5 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,25 @@
when: item.state | bool

- name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv with tflite_runtime
moreati.uv.pip:
ansible.builtin.pip:
name: tflite_runtime
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
extra_args: "-f 'https://whl.smartgic.io/'"
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
moreati.uv.pip:
ansible.builtin.pip:
name: wheel
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
when: not ovos_installer_cpu_is_capable | bool

- name: Install ggwave Python library
moreati.uv.pip:
ansible.builtin.pip:
name: ggwave
virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
extra_args: "-f 'https://whl.smartgic.io/'"
extra_args: "-f 'https://whl.smartgic.io'"
when: ansible_architecture == "aarch64" or ansible_architecture == "x86_64"

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

0 comments on commit e5f42c3

Please sign in to comment.