volume: Support device-based volumes
Also support those options in container and service roles
This commit is contained in:
7
roles/volume/handlers/main.yaml
Normal file
7
roles/volume/handlers/main.yaml
Normal 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 }}'
|
||||
Reference in New Issue
Block a user