Re: [ansible-project] Ansible : query an output array

2017-03-20 Thread Z-obaze
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

Re: [ansible-project] Ansible : query an output array

2017-03-17 Thread Kai Stian Olstad
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:

[ansible-project] Ansible : query an output array

2017-03-17 Thread Z-obaze
Hi everyone, I'm wondering if there is a simple way to display the value of on exact item for each row whatever the number of entries we have ? I'll explain myself, I have an ouput which looks like this : ok: [server1] => { "requirements": { "changed": false, "msg": "All