Team,
would it be possible adding an option to disable HAL for REST calls? Background: na_ontap_rest_info would return a much more consumable return as the links are usually not required anyways when working with Ansible only...
Code ref:
https://github.com/ansible-collections/netapp.ontap/blob/6f613b4b03d24d8d4bf35139909d72832dd410cd/plugins/module_utils/netapp.py#L693C23-L693C23
--> def build_headers(self, accept='application/json', vserver_name=None, vserver_uuid=None):
TASK [Get Ontap Info] ****************************************************************************************************************
ok: [cluster1]
ok: [cluster2]
TASK [Print cluster details] *********************************************************************************************************
ok: [cluster1] => {
"msg": [
{
"changed": false,
"failed": false,
"ontap_info": {
"cluster/nodes": {
"num_records": 2,
"records": [
{
"name": "cluster1-01",
"uuid": "8bba14e3-edf0-11ed-8af2-005056b03f7b"
},
{
"name": "cluster1-02",
"uuid": "8d90c395-edf0-11ed-9282-005056b09c1f"
}
]
},
"cluster/software": {},
"svm/svms": {
"num_records": 0,
"records": []
}
}
}
]
}
...
Thanks, Adrian