Remove difficult to read and low-value test "| length > 0".

This commit is contained in:
Robert de Bock 2020-11-16 11:07:32 +01:00
parent 9759194404
commit 182c25e96c

View file

@ -18,7 +18,6 @@
- name: test if grub_options is set correctly
assert:
that:
- grub_options | length > 0
- grub_options is iterable
quiet: yes
when:
@ -28,7 +27,6 @@
assert:
that:
- item.option is defined
- item.option | length > 0
- item.value is defined
quiet: yes
loop: "{{ grub_options }}"