Sri,
It would help if the your output matched the playbook you are running.
Your problem task isn't even in your test playbook!
> TASK: [debug msg="{{
> echo_output.results|map(attribute='stdout_lines')|list}}"] ***
> ok: [127.0.0.1] => {
> "msg": "[Undefined, Undefined]"
> }
>
Anyway, this works for me on stable-2.0.0.1 on centos 7.
I get the output below, which is probably what you are expecting:
ok: [t1] => {
"msg": [
[
"hi"
],
[
"hello"
]
]
}
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/476f634d-b83e-4d06-95ec-914711deb991%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.