volume: Support device-based volumes
Also support those options in container and service roles
This commit is contained in:
@@ -18,7 +18,7 @@ _container_mounts: >-
|
||||
{{
|
||||
container_mounts | selectattr('type', '!=', 'volume') +
|
||||
container_mounts | selectattr('type', '==', 'volume')
|
||||
| community.general.remove_keys(['user', 'group'])
|
||||
| community.general.keep_keys(['type', 'source', 'destination', 'readonly'])
|
||||
| zip(_container_volume_mount_sources) | map('combine')
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user