Prevent luks-detection task from aborting on unencrypted devices
This commit is contained in:
parent
9ee19d1459
commit
2b45174f0f
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
when:
|
||||
- item.value.partitions is defined
|
||||
- item.value.partitions | dict2items | length > 0
|
||||
- item.value.partitions | dict2items | selectattr('value.holders', 'search', 'luks|crypt') | length > 0
|
||||
loop: "{{ ansible_devices | dict2items }}"
|
||||
|
||||
- name: Get luks slots
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue