feat: Re-create simplified podman role
This commit is contained in:
parent
e8d7a878ec
commit
fbd68fad4c
@ -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
|
||||
|
||||
20
playbooks/roles/podman/tasks/main.yml
Normal file
20
playbooks/roles/podman/tasks/main.yml
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user