feat: Re-create simplified podman role

This commit is contained in:
Tobias J. Endres 2025-09-02 20:44:30 +02:00
parent e8d7a878ec
commit fbd68fad4c
2 changed files with 22 additions and 7 deletions

View File

@ -3,12 +3,7 @@
become: true
vars:
ansible_python_interpreter: /usr/bin/python3
pre_tasks:
- name: Install linux.system_roles collection
ansible.builtin.command: ansible-galaxy collection install linux.system_roles -p ./collections
args:
creates: ./collections/ansible_collections/linux/system_roles
roles:
- common
- linux.system_roles.podman # Use the new podman role
- network
- podman # Use the custom podman role
- network

View File

@ -0,0 +1,20 @@
---
- 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