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