Skip to content

Commit 74bbd8b

Browse files
committed
Merge PR#26 from rhmk
2 parents 57258a0 + b20e0ec commit 74bbd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/volume-default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
when: volume._preexist
7474

7575
- set_fact:
76-
volume: "{{ volume|combine({'_orig_mount_point': ansible_facts.mounts|selectattr('device', 'eq', volume._device)|map(attribute='mount')|list|first|default('')}, recursive=True) }}"
76+
volume: "{{ volume|combine({'_orig_mount_point': ansible_facts.mounts|selectattr('device', 'equalto', volume._device)|map(attribute='mount')|list|first|default('')}, recursive=True) }}"
7777

7878
- set_fact:
7979
volume: "{{ volume|combine({'_wipe': volume._preexist and (not volume.fs_type or (volume._orig_fs_type and volume.fs_type != volume._orig_fs_type))}) }}"

0 commit comments

Comments
 (0)