diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-20 21:13:53 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-20 21:13:53 +0200 |
| commit | cf8f30da8b198f4920934a0cf6bf84bd0dbbf63b (patch) | |
| tree | 1cd4132255e0ec6809eceabe0929860fc4cceadb /roles/ansible | |
| parent | 19a7d7053b721a22b805ba7a9daff1cb7a70a630 (diff) | |
Fix ansible install on ubuntu when there is another version installed
Diffstat (limited to 'roles/ansible')
| -rw-r--r-- | roles/ansible/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/ansible/tasks/main.yml b/roles/ansible/tasks/main.yml index 3923fc1a..fa1de1b7 100644 --- a/roles/ansible/tasks/main.yml +++ b/roles/ansible/tasks/main.yml @@ -21,7 +21,7 @@ - name: "Install ansible core version {{ ansible_core_version }}" ansible.builtin.shell: | set -euo pipefail - uv tool install ansible-core=={{ ansible_core_version }} + uv tool install ansible-core=={{ ansible_core_version }} --force args: executable: /bin/bash environment: @@ -44,7 +44,7 @@ - name: "Install molecule version {{ molecule_version }}" ansible.builtin.shell: | set -euo pipefail - uv tool install molecule=={{ molecule_version }} --with 'molecule-plugins[docker,podman]' + uv tool install molecule=={{ molecule_version }} --with 'molecule-plugins[docker,podman]' --force args: executable: /bin/bash environment: |
