We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e2cf95 + 98edc79 commit de29987Copy full SHA for de29987
tasks/kernel_module_cleanup.yml
@@ -5,7 +5,7 @@
5
state: absent
6
when: >
7
(pve_zfs_options is not defined) or
8
- (pve_zfs_options is defined and not pve_zfs_options | bool) or
+ (pve_zfs_options is defined and not pve_zfs_options | length > 0) or
9
(not pve_zfs_enabled | bool)
10
11
- name: Disable loading of ZFS module on init
tasks/zfs.yml
@@ -17,7 +17,7 @@
17
content: "options zfs {{ pve_zfs_options }}"
18
dest: /etc/modprobe.d/zfs.conf
19
mode: 0644
20
- when: "pve_zfs_options is defined and pve_zfs_options | bool"
+ when: "pve_zfs_options is defined and pve_zfs_options | length > 0"
21
22
- name: Configure email address for ZFS event daemon notifications
23
lineinfile:
0 commit comments