fix(partitioning): register swapoff result for changed_when handling

This commit is contained in:
2026-02-11 23:47:36 +01:00
parent ed8da6e4e2
commit f8eaa41fc2

View File

@@ -43,7 +43,8 @@
block:
- name: Disable swap
ansible.builtin.command: swapoff -a
changed_when: false
register: partitioning_swapoff_result
changed_when: partitioning_swapoff_result.rc == 0
failed_when: false
- name: Find mounts under /mnt