Add volume role and support setting volume owner

Add volume role
container: Use volume role, including support for user and group
This commit is contained in:
uumas
2024-11-19 19:50:43 +02:00
parent 61aa99bcd1
commit 61a8e67205
10 changed files with 93 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
---
- name: Validate inputs
ansible.builtin.import_tasks: validation.yaml
- name: Create container volume service {{ volume_name }}
containers.podman.podman_volume:
name: "{{ volume_name }}"
options: "{{ volume_options }}"
state: quadlet
quadlet_file_mode: "0644"
notify: Reload systemd daemon