1
0
Fork 0
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:
Brian Coca 2015-06-11 13:44:31 -04:00
parent aaab69cae9
commit b9bb3e83b7

View file

@ -125,9 +125,16 @@
- "bare_var.results[0].item == 1" - "bare_var.results[0].item == 1"
- "bare_var.results[1].item == 2" - "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 - name: use list with undefined var in it
debug: msg={{item}} debug: msg={{item}}
with_items: things2 with_items: things2
ignore_errors: True
# BUG #10073 nested template handling # BUG #10073 nested template handling