My apologies, I was too quick and very mistaken:
change
> debug: var=secondvar.stdout_lines
> to
>
> debug: var=secondvar.results.stdout_lines
>
Should be
- name: test | should display directory contents but does not
debug: var=item.stdout
with_items: secondvar.results
Noting this by heart, so hopefully not mistaken this time :-)
Serge
--
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/CAEhzMJB_nQJoSfX2V4Oy4TSwSZKSWopzMUatnHSbjAAidATX5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.