feat: Add rootful capability

This commit is contained in:
2026-04-20 17:21:32 +02:00
parent da83cf1e00
commit 801b9b4cb9
8 changed files with 128 additions and 100 deletions

17
tasks/manage_rootful.yml Normal file
View File

@@ -0,0 +1,17 @@
---
# tasks file for podman
- name: Deploy rootful quadlets
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "/etc/containers/systemd/{{ item | ansible.builtin.basename }}"
owner: root
group: root
mode: u=rw,g=r,o=
become: true
loop: "{{ podman_quadlets_rootful }}"
register: deployed_quadlets_rootful
notify: Start or restart rootful quadlets
- name: Flush handlers
ansible.builtin.meta: flush_handlers