Skip to content

Commit

Permalink
Only check encryption layer for volumes that are present.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwlehman committed Jun 10, 2020
1 parent bf3ed86 commit a8d3c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test-verify-volume-encryption.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
assert:
that: "{{ (storage_test_volume._device != storage_test_volume._raw_device)|bool == (storage_test_volume.encryption|bool) }}"
msg: "Encryption not managed correctly for volume {{ storage_test_volume.name }}: {{ (storage_test_volume._device != storage_test_volume._raw_device) }} {{ storage_test_volume.encryption|bool }}"
when: _storage_test_volume_present

- name: Make sure we got info about the LUKS volume if encrypted
assert:
Expand Down

0 comments on commit a8d3c5b

Please sign in to comment.