[Cleanup] multiple small role cleaning
Mostly whitespace and comparison with empty strings
This commit is contained in:
parent
440bec2feb
commit
5cf81335e6
|
@ -13,7 +13,7 @@
|
|||
changed_when: False
|
||||
check_mode: no
|
||||
register: kvm_libvirt_images_current_real_path_test
|
||||
when: kvm_custom_libvirt_images_path != ''
|
||||
when: kvm_custom_libvirt_images_path
|
||||
|
||||
- name: Images directory is moved to custom path
|
||||
block:
|
||||
|
@ -35,6 +35,6 @@
|
|||
dest: '/var/lib/libvirt/images'
|
||||
state: link
|
||||
when:
|
||||
- kvm_custom_libvirt_images_path != ''
|
||||
- kvm_custom_libvirt_images_path
|
||||
- kvm_custom_libvirt_images_path != kvm_libvirt_images_current_real_path_test.stdout
|
||||
- not kvm_custom_libvirt_images_path_test.stat.exists
|
||||
|
|
|
@ -28,4 +28,4 @@
|
|||
- restart logstash
|
||||
tags:
|
||||
- logstash
|
||||
when: (logstash_custom_tmpdir != '' and logstash_custom_tmpdir != None) or fstab_tmp_noexec.rc == 0
|
||||
when: (logstash_custom_tmpdir and logstash_custom_tmpdir != None) or fstab_tmp_noexec.rc == 0
|
||||
|
|
Loading…
Reference in a new issue