#na_ontap_rest_info to get security style of a volume

1 messages · Page 1 of 1 (latest)

short chasm
#

It seems that I cannot get "security_style", that field does not exist on output.

    - name: Get the volume info using REST API
      connection: local
      na_ontap_rest_info:
        <<: *login
        gather_subset: "storage/volumes"
        parameters:
          name: "{{ vol_name }}"
          svm: "{{ vserver }}"
        fields: "*"

turn on "*" to get every info, could not find security_style.

lofty juniper
#

hi @short chasm
could you look for nas.security_style in the output?

topaz trout
#

nas.security_style was not present in my case too.
The only entry I had in nas was the storage policy

lofty juniper
#

@topaz trout Could you enable the REST API tracing and share /tmp/ontap_apis.log content?

GitHub

Ansible collection to support NetApp ONTAP configuration. - ansible-collections/netapp.ontap

red dune