Thank you

On Thu, May 7, 2015 at 5:23 PM, Brian Coca <[email protected]> wrote:

> the issue is that with_items always creates a result list, so you can
> access stdout of each item this way:
>
> device.results[i].stdout
>
> where i is the 0 based index of items, since you seem to have only 1
> mount this will be what you need:
>
>
> device.results[0].stdout
>
> --
> Brian Coca
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/mxPBOF-zokc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAJ5XC8mdNW6r0X4Cv%3DGtkacQMgHKK_ELWztXfoYWch-mXx%2B0eg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-Yariv

-- 
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/CAB4h7pUMbpHFo0G36TQ-H5fjVvLWnFePnwKdUjpJ1ezoeJoYvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to