mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2026-05-21 11:58:46 +02:00
Remove difficult to read and low-value test "| length > 0".
This commit is contained in:
parent
9759194404
commit
182c25e96c
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue