26 lines
619 B
YAML

---
- name: Install Podman
ansible.builtin.apt:
name: podman
state: present
- name: Install python3-pip
ansible.builtin.apt:
name: python3-pip
state: present
- name: Install podman-compose
ansible.builtin.pip:
name: podman-compose
state: present
- name: Install podman-docker (optional, for docker command alias)
ansible.builtin.apt:
name: podman-docker
state: present
- name: Install containers.podman collection
ansible.builtin.command: ansible-galaxy collection install containers.podman
args:
creates: ~/.ansible/collections/ansible_collections/containers/podman