Thanks a lot, it was just what I needed.

Le vendredi 17 mars 2017 17:51:25 UTC+1, Kai Stian Olstad a écrit :
>
> On 17. mars 2017 11:27, Z-obaze wrote: 
> > And with that output, i'd like to display the value of "yumstate" entry 
> for 
> > all of the items, here we have two items, but we could have 3, 4 or 
> more. 
> > 
> > Within my playbook i tried to do something like this, but of course it 
> > doesn't work : 
> > 
> >         - name: debug 
> >           debug: 
> >              var: 'requirements.results[*].results[*].yumstate' 
> > 
> > I also tried with a loop, but I haven't found anything. 
> > 
> > So does anyone have a clue to do this? 
>
>   - debug: var=item.results.0.yumstate 
>     with_items: "{{ requirements.results }}" 
>
> -- 
> Kai Stian Olstad 
>

-- 
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/58230e82-0e76-4de2-b66e-720653a202fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to