fix(partitioning): correct changed_when on btrfs quota and qgroup commands

This commit is contained in:
2026-02-21 00:38:43 +01:00
parent 3448e95e5c
commit 40a9ee9882

View File

@@ -37,7 +37,7 @@
- name: Enable quotas on Btrfs filesystem - name: Enable quotas on Btrfs filesystem
ansible.builtin.command: btrfs quota enable /mnt ansible.builtin.command: btrfs quota enable /mnt
register: partitioning_btrfs_quota_result register: partitioning_btrfs_quota_result
changed_when: false changed_when: partitioning_btrfs_quota_result.rc == 0
- name: Make root subvolumes - name: Make root subvolumes
when: when:
@@ -66,7 +66,7 @@
loop_control: loop_control:
label: "{{ item.subvol }}" label: "{{ item.subvol }}"
register: partitioning_btrfs_qgroup_result register: partitioning_btrfs_qgroup_result
changed_when: false changed_when: partitioning_btrfs_qgroup_result.rc == 0
- name: Create a Btrfs swap file - name: Create a Btrfs swap file
when: system_cfg.features.swap.enabled | bool when: system_cfg.features.swap.enabled | bool