use packet manager instead of pip

This commit is contained in:
2025-11-07 09:36:07 +01:00
parent 7b8834c5ae
commit 232594af8e

View File

@@ -41,16 +41,11 @@
# Dies stellt sicher, dass der Podman-Socket für die Kommunikation verfügbar ist, # Dies stellt sicher, dass der Podman-Socket für die Kommunikation verfügbar ist,
# insbesondere für Tools wie Portainer, die sich mit dem Socket verbinden. # insbesondere für Tools wie Portainer, die sich mit dem Socket verbinden.
- name: Ensure python3-pip is installed for podman-compose - name: Install podman-compose from repository
ansible.builtin.apt: ansible.builtin.apt:
name: python3-pip
state: present
update_cache: yes
- name: Install podman-compose
ansible.builtin.pip:
name: podman-compose name: podman-compose
state: present state: present
update_cache: yes
- name: Create directory for Portainer compose file - name: Create directory for Portainer compose file
ansible.builtin.file: ansible.builtin.file: