summaryrefslogtreecommitdiffstats
path: root/roles/python
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-09-15 19:14:09 +0200
committerAhmed AbdelHalim <[email protected]>2025-09-15 19:14:09 +0200
commit2236aae548008b3e05050a9a36d3e68c57ee2f65 (patch)
treec2b739072109919be1fce535a3a97265020617ec /roles/python
parente59971ba6ef374b92137ff3a491355c2fe0cfae6 (diff)
Fix idempotent testing for python role
Diffstat (limited to 'roles/python')
-rw-r--r--roles/python/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/python/tasks/main.yml b/roles/python/tasks/main.yml
index 6ae2e387..e8904d2d 100644
--- a/roles/python/tasks/main.yml
+++ b/roles/python/tasks/main.yml
@@ -23,7 +23,7 @@
ansible.builtin.command:
cmd: "uv python install {{ item }}"
args:
- creates: "{{ ansible_env.HOME }}/.local/share/uv/python/cpython-{{ item }}-*/bin/python"
+ creates: "{{ ansible_env.HOME }}/.local/share/uv/python/cpython-{{ item }}*/bin/python{{ item }}"
environment:
PATH: "/home/linuxbrew/.linuxbrew/bin:{{ ansible_env.PATH }}"
with_items: "{{ python_versions }}"