fix(partitioning): correct wipefs changed_when to report actual disk modification
This commit is contained in:
1 parent
fc2ddfea8a
commit
ed6b604302
1 file changed
+1
-1
@@ -96,7 +96,7 @@
|
||||
ansible.builtin.shell: >-
|
||||
find /dev -wholename "{{ install_drive }}*" -exec wipefs --force --all {} \;
|
||||
register: partitioning_wipefs_result
|
||||
changed_when: false
|
||||
changed_when: partitioning_wipefs_result.rc == 0
|
||||
failed_when: false
|
||||
|
||||
- name: Refresh kernel partition table
|
||||
|
||||
Reference in new issue
Block a user