>
>
> Instead of 
>    - debug: 
>        msg: "{{ item.item }}" 
>      with_items: "{{ sshKey | json_query(query) }}" 
>        vars: 
>          query: "results[?changed==true]" 
>
> You can use this 
>
>    - debug: 
>        msg: "{{ item.item }}" 
>      with_items: '{{ sshKey.results }}' 
>      when: item.changed 
>
> -- 
> Kai Stian Olstad 
>

Thank you a lot. Sometimes i dont see the forest for the trees ;) But 
nevertheless i am unhappy i cant use the json_query filter on that. I 
neither know if it is a bug or my bad.

-- 
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/70521491-d790-4216-af63-6250ab8494ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to