remove btrfs quota limits

This commit is contained in:
Sandwich 2024-05-21 14:20:28 +02:00
parent 43ce280d11
commit b077e549db

View File

@ -32,15 +32,11 @@
when: cis == true or item.subvol not in ['var_log', 'var_log_audit'] when: cis == true or item.subvol not in ['var_log', 'var_log_audit']
command: btrfs qgroup limit {{ item.quota }} /mnt/{{ '@' if item.subvol == 'root' else '@' + item.subvol }} command: btrfs qgroup limit {{ item.quota }} /mnt/{{ '@' if item.subvol == 'root' else '@' + item.subvol }}
loop: loop:
- { subvol: root, quota: '12G' }
- { subvol: home, quota: '2G' } - { subvol: home, quota: '2G' }
- { subvol: var, quota: '2G' }
- { subvol: var_log, quota: '2G' }
- { subvol: var_log_audit, quota: '1536M' }
- name: Unmount Partition - name: Unmount Partition
mount: mount:
path: /mnt path: /mnt
src: '{{ install_drive }}{{ main_partition_suffix }}' src: '{{ install_drive }}{{ main_partition_suffix }}'
fstype: btrfs fstype: btrfs
state: unmounted state: unmounted