fix(partitioning): correct changed_when on btrfs quota and qgroup commands
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
- name: Enable quotas on Btrfs filesystem
|
||||
ansible.builtin.command: btrfs quota enable /mnt
|
||||
register: partitioning_btrfs_quota_result
|
||||
changed_when: false
|
||||
changed_when: partitioning_btrfs_quota_result.rc == 0
|
||||
|
||||
- name: Make root subvolumes
|
||||
when:
|
||||
@@ -66,7 +66,7 @@
|
||||
loop_control:
|
||||
label: "{{ item.subvol }}"
|
||||
register: partitioning_btrfs_qgroup_result
|
||||
changed_when: false
|
||||
changed_when: partitioning_btrfs_qgroup_result.rc == 0
|
||||
|
||||
- name: Create a Btrfs swap file
|
||||
when: system_cfg.features.swap.enabled | bool
|
||||
|
||||
Reference in New Issue
Block a user