mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added new test that allows for listed bare strings
now with_times: barestring, will error out in test
This commit is contained in:
parent
aaab69cae9
commit
b9bb3e83b7
1 changed files with 7 additions and 0 deletions
|
@ -125,9 +125,16 @@
|
|||
- "bare_var.results[0].item == 1"
|
||||
- "bare_var.results[1].item == 2"
|
||||
|
||||
- name: use list with bare strings in it
|
||||
debug: msg={{item}}
|
||||
with_items:
|
||||
- things2
|
||||
- things1
|
||||
|
||||
- name: use list with undefined var in it
|
||||
debug: msg={{item}}
|
||||
with_items: things2
|
||||
ignore_errors: True
|
||||
|
||||
|
||||
# BUG #10073 nested template handling
|
||||
|
|
Loading…
Reference in a new issue