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

@@ -0,0 +1,7 @@
---
- name: "Restart volume service {{ volume_name }}"
ansible.builtin.systemd_service:
name: "{{ volume_name }}-volume.service"
state: restarted
daemon_reload: true
ignore_errors: '{{ ansible_check_mode }}'