feat: Add rootful capability

This commit is contained in:
2026-04-20 17:21:32 +02:00
parent da83cf1e00
commit d1025bfc60
8 changed files with 130 additions and 98 deletions

19
tasks/manage_rootful.yml Normal file
View File

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