fix(global_defaults): handle disks without mount key in mountpoint validation
This commit is contained in:
1 parent
89ddfedd52
commit
f71c8f90bf
1 file changed
+2
-2
@@ -310,8 +310,8 @@
|
||||
system_disk_mounts: >-
|
||||
{{
|
||||
(system_cfg.disks | default([]))
|
||||
| map(attribute='mount')
|
||||
| map(attribute='path')
|
||||
| map(attribute='mount', default={})
|
||||
| map(attribute='path', default='')
|
||||
| map('string')
|
||||
| map('trim')
|
||||
| reject('equalto', '')
|
||||
|
||||
Reference in new issue
Block a user