fix(partitioning): correct wipefs changed_when to report actual disk modification

This commit is contained in:
2026-02-20 21:51:09 +01:00
parent b2e050c467
commit ac72fdc4a6

View File

@@ -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