Skip to content

Commit

Permalink
role uv: fix detection of changed installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Nov 11, 2024
1 parent 8528fc7 commit 6560204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/roles/uv/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
uv_python_versions_install: "{{ (uv_python_versions + (uv_venvs | map(attribute='python') | list)) | unique }}"

- name: Install desired python version
command: "uv python install {{ item }}"
command: "uv python install -v {{ item }}"
register: _install_desired_python
changed_when: '"Found existing installation" not in _install_desired_python.stderr'
changed_when: '"Skipping" not in _install_desired_python.stderr'
with_items: "{{ uv_python_versions_install }}"

- name: Set uv python install path facts step 1
Expand Down

0 comments on commit 6560204

Please sign in to comment.