Tobias J. Endres a67fb3c039 fix: Straightened out the joint, see?
Listen up, see? We ironed out some kinks in the operation, made sure everything's on the up-and-up.

- Got the firewalld muscle working proper, no more funny business with the ports.
- Them Podman fellas? They're running on their own turf now, rootless and clean. No more mix-ups with the boss's stuff, see?
- And the Portainer setup? All squared away, no more funny business with the starting.

Everything's on the level now. Capiche?
2025-09-03 21:47:59 +02:00

38 lines
962 B
YAML

---
- name: Install Podman
ansible.builtin.apt:
name: podman
state: present
- name: Install podman-compose
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
- name: Ensure user's Podman config directory exists
ansible.builtin.file:
path: "~/.config/containers"
state: directory
mode: '0755'
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
become: false
- name: Configure unqualified image search registries for Podman (user-specific)
ansible.builtin.template:
src: registries.conf.j2
dest: "~/.config/containers/registries.conf"
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
mode: '0644'
become: false
register: copy_registries_conf_output
- name: Display copy_registries_conf_output
debug:
var: copy_registries_conf_output