When something 'is json' it is a string with content that is supposed
to be JSON parsable, so you cannot access the structure directly, you
need to convert it firs via from_json filtert:
debug:
msg: "{{(assets.json|from_json).data[0].attributes.assetType}}"
--
----------
Brian Coca
--
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/CACVha7eDT95HXw-mSyjrPM9Jm4i0O4VQxSzQZGz1wtr9D_vrKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.