Is it possible to use the {{ var.stdout_lines }} syntax in a with_nested construct?
with_nested:
- {{ var.stdout_lines }}
- ['some', 'ohter', 'data']
seems to throw an error. However..
with_nested:
- ${var.stdout_lines}
- ['some', 'other', 'data']
seems to work.
and
with_nested:
- var.stdout_lines
- ['some', 'other', 'data']
tries to use "var.stdout_lines" as a literal list of chars, 'v', 'a', 'r', '.', …
and
with_nested:
- "{{ var.stdout_lines }}"
- ['some', 'other', 'data']
treats the big full string of the expanded list as a string of chars, including the brackets.
- var['stdout_lines'] is just a string too.
So, I'm confused!
-jlk