#Subset file_directory_security isn't working correctly for na_ontap_rest_info

1 messages · Page 1 of 1 (latest)

hidden berry
#

The example in the module na_ontap_rest_info with the subset private/cli/vserver/security/file-directory or file_directory_security doesn't work as expected

My playbook:

- name: get nfts permission info delegate_to: localhost netapp.ontap.na_ontap_rest_info: hostname: "{{ backup_netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" https: true validate_certs: "{{ validate_certs }}" gather_subset: - file_directory_security parameters: vserver: cifs_vserver path: /vol1/PhotoShare use_python_keys: yes register: ntfs_permission_info

ERROR CODE:

fatal: [localhost -> localhost]: FAILED! => {"changed": false, "msg": {"code": "262188", "message": "Field \"fields\" was specified twice (to \"acls\" and \"\").", "target": "fields"}}

ONTAP: 9.9.1
netapp.ontap 22.0.1

Any idea ?

#

I'm looking in to this

glad hinge
#

@wild harbor

patent pasture
#

Yes, it's a bug in the module. I created a JIRA issue to track it: DEVOPS-5820. It will be fixed in our early February release.