summaryrefslogtreecommitdiffstats
path: root/roles
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
commit3bd4fb05c8b98d12be1321854bfd6b8fb78307f1 (patch)
treec2b739072109919be1fce535a3a97265020617ec /roles
parent2ec86ad900e742311a538ef4221fa786aa9e431c (diff)
Fix idempotent testing for python role
Diffstat (limited to 'roles')
-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 }}"