Skip to content

Commit

Permalink
Fix conditions for reading ext4 label in test verification.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwlehman committed Nov 19, 2020
1 parent 83681c7 commit 978f4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-verify-volume-fs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

- name: Show the current label
shell: e2label {{ storage_test_volume._device }}
when: storage_test_volume.state|default('') == 'present' and storage_test_volume.fs_type|default('') == 'ext4'
when: _storage_test_volume_present and storage_test_volume.fs_type|default('') == 'ext4'

# label
- name: Verify fs label
Expand Down

0 comments on commit 978f4d2

Please sign in to comment.