feat: enable autoexpand on datapool in ZFS configuration
This commit is contained in:
parent
5594afc4a6
commit
04050f3f03
@ -30,6 +30,13 @@
|
||||
become: true
|
||||
changed_when: false
|
||||
|
||||
- name: Enable autoexpand on datapool
|
||||
ansible.builtin.command: zpool set autoexpand=on datapool
|
||||
become: true
|
||||
when: datapool_check.rc == 0
|
||||
register: autoexpand_result
|
||||
changed_when: autoexpand_result.rc == 0
|
||||
|
||||
- name: Ensure /mnt directory exists with proper permissions
|
||||
ansible.builtin.file:
|
||||
path: /mnt
|
||||
|
Loading…
x
Reference in New Issue
Block a user