feat: enable autoexpand on datapool in ZFS configuration
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user