Below is the YAML. But if the actual fields are specified (for the ones that are not returned through '*'), the fields return. a couple of the examples are the anti_ransomware, autosize.
Is this by designed? Is the recommendation to explicitly specify the required fields instead? Did notice that it is NOT recommended to use '*" for the fields with the API - https://docs.ansible.com/projects/ansible/latest/collections/netapp/ontap/na_ontap_rest_info_module.html#parameters
- name: Run ONTAP gather facts for aggregate info and volume info
netapp.ontap.na_ontap_rest_info:
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"
validate_certs: false
fields:
- '*'
gather_subset:
- storage/volumes
parameters:
name: vol01
register: ontap_facts
- name: Display volume info
debug:
msg: "Volumes: {{ ontap_facts }}"