Skip to content

Commit a6dcc39

Browse files
authored
Merge pull request #35 from DO1JLR/compare
LINT - Don't compare to empty string
2 parents 031f364 + 5603a18 commit a6dcc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/post-install-Debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
insertafter: '^#libvirtd_opts='
2222
regexp: '^libvirtd_opts='
2323
line: "libvirtd_opts={{ libvirt_host_libvirtd_args }}"
24-
condition: "{{ libvirt_host_libvirtd_args != '' }}"
24+
condition: "{{ libvirt_host_libvirtd_args | length > 0 }}"
2525
vars:
2626
libvirt_env_path: "{{ '/etc/default/libvirt-bin' if libvirt_bin_stat.stat.exists else '/etc/default/libvirtd' }}"
2727
tags: vars

0 commit comments

Comments
 (0)