fix: Add debug tasks to podman role for pip installation issue

This commit is contained in:
Tobias J. Endres 2025-09-02 20:48:44 +02:00
parent 20f56da90e
commit 2e54ae37a2

View File

@ -8,6 +8,20 @@
ansible.builtin.apt:
name: python3-pip
state: present
register: install_pip_output
- name: Display python3-pip installation output
debug:
var: install_pip_output
- name: Check if pip3 is installed
ansible.builtin.command: which pip3
register: which_pip3_output
ignore_errors: true # Allow task to fail if pip3 is not found
- name: Display which pip3 output
debug:
var: which_pip3_output
- name: Clear facts to ensure pip is found
meta: clear_facts
@ -20,4 +34,4 @@
- name: Install podman-docker (optional, for docker command alias)
ansible.builtin.apt:
name: podman-docker
state: present
state: present