Hi,
How do I take only the text from the below from json created by an ansible
register
I have this
- name: Display the query results
debug:
msg: "{{ query_result }}"
and I get [["TESTDBA"]], I want the value to be TESTDBA. Basically I am
passing this value to another parameter in the same playbook like the below
roles: "{{query_result.msg }}"
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/c01e16df-1b7f-4a72-a836-3aeda869bdbd%40googlegroups.com.