On Wed, 30 Dec 2020 06:46:37 -0800 (PST)
Ramesh AR <ramesh.a...@gmail.com> wrote:

>     register: result
>   - name: Display PSU status
>     debug: msg="{{ result.json | json_query(jmesquery) }}"
>     vars:
>       jmesquery: "[*].{dn: dn, id: id}"

Post the (link to) "result". For example

    - debug:
        var: result.json

You might want to paste it
https://alternativeto.net/software/pastebin/

-- 
Vladimir Botka

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20201230162853.6656ef78%40gmail.com.

Attachment: pgpZt4MLzf88d.pgp
Description: OpenPGP digital signature

Reply via email to