volume: Support device-based volumes

Also support those options in container and service roles
This commit is contained in:
uumas
2025-07-05 16:14:07 +03:00
parent faa68bfe83
commit a862606df2
9 changed files with 123 additions and 9 deletions

View File

@@ -5,7 +5,8 @@
- name: Create container volume service {{ volume_name }}
containers.podman.podman_volume:
name: "{{ volume_name }}"
options: "{{ volume_options }}"
options: "{{ _volume_options }}"
state: quadlet
quadlet_file_mode: "0644"
notify: Reload systemd daemon
quadlet_options: "{{ _volume_quadlet_options }}"
notify: Restart volume service {{ volume_name }}