mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
More true/false normalization (#6152)
* More true/false normalization. * Boolean do not need explicit choices. * One more. * Fix type argument.
This commit is contained in:
parent
627371e2d8
commit
11c7611ced
48 changed files with 203 additions and 219 deletions
|
|
@ -19,8 +19,8 @@
|
|||
|
||||
- include_tasks: tests.yml
|
||||
with_nested:
|
||||
- [ True, False ] # with_link
|
||||
- [ True, False ] # with_alternatives
|
||||
- [ true, false ] # with_link
|
||||
- [ true, false ] # with_alternatives
|
||||
- [ 'auto', 'manual' ] # mode
|
||||
loop_control:
|
||||
loop_var: test_conf
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
- include_tasks: tests_set_priority.yml
|
||||
with_sequence: start=3 end=4
|
||||
vars:
|
||||
with_alternatives: True
|
||||
with_alternatives: true
|
||||
mode: auto
|
||||
|
||||
- block:
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
- include_tasks: tests_set_priority.yml
|
||||
with_sequence: start=3 end=4
|
||||
vars:
|
||||
with_alternatives: False
|
||||
with_alternatives: false
|
||||
mode: auto
|
||||
|
||||
# Test that path is checked: alternatives must fail when path is nonexistent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue