This is kind of 2 parts...
First, while using the collection netapp.ontap.na_ontap_rest_info and targeting the parameter volume_info, I have the results dumped to ontap_info. Then in the following task, I call debug and msg for "{{ ontap_info.ontap_info }}". This is fine but what I want to do is to target the name of the volume only in the output. how do I achieve this when the json output is this:
{
"ontap_info": {
"storage/volumes": {
"records": [
{
"uuid": "0311c2cc-bfa7-4c08-834d-6b5fd1353458",
"name": "labesxClus02_rmpOS_vnas02",
"_links": {
"self": {
"href": "/api/storage/volumes/0311c2cc-bfa7-4c08-834d-6b5fd1353458"
}
}
},
Second item, has anyone been able to get their AWX job output to be in yaml format instead of json...not a fan of json. I found the following but Im a little lost: https://forum.ansible.com/t/awx-human-readable-output-configuration-yaml/3016/14