feat: enable autoexpand on datapool in ZFS configuration
This commit is contained in:
parent
5594afc4a6
commit
04050f3f03
@ -30,6 +30,13 @@
|
|||||||
become: true
|
become: true
|
||||||
changed_when: false
|
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
|
- name: Ensure /mnt directory exists with proper permissions
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /mnt
|
path: /mnt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user