Could someone please tell me what I'm doing wrong here?
I am using the na_ontap_rest_info module to pull info from a cluster, and then I want to loop through the data to perform an action on each item.
I am able to do this with the nodes of the cluster, no problem (see the first attachment with output: get_cifs_servers_rest.yml). But, when I try to do this with CIFs servers, it tells me that there is no 'name' attribute (see code and output: get_cifs_servers_rest.yml).
If I display "{{ cifs_list['ontap_info']['protocols/cifs/services']['records'][0]['name'] }}" it returns the name of the CIFs server. So, I don't understand why it's not seeing it when I try to do the loop?
Any help would be appreciated!