fix: Install podman-compose via apt

This commit is contained in:
Tobias J. Endres 2025-09-02 20:55:57 +02:00
parent b62ec3ddb9
commit c21c6f6af7

View File

@ -4,34 +4,12 @@
name: podman
state: present
- name: Install python3-pip
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
- name: Install podman-compose
ansible.builtin.pip:
ansible.builtin.apt:
name: podman-compose
state: present
- name: Install podman-docker (optional, for docker command alias)
ansible.builtin.apt:
name: podman-docker
state: present
state: present