Hello everyone,
i miss the following functions in the Ansible modules.
After consulting with the API developers, there are RestAPI endpoints for these:
-
It is not possible to activate SSL certificates created via Ansible. This must still be done on the CLI as follows:
-> "security ssl modify -vserver <SVM> -serial <SERIALNUMBER> -ca <CA-NAME> -common-name <COMMON-NAME>"
--> RestAPI equivalent "curl -ku admin:Netapp1! -X PATCH "https://cluster1.demo.netapp.com/api/svm/svms/276ca4b1-b008-11f0-b77d-005056ab4f0e " -d '{"certificate.uuid":"a1047016-1ddf-11ef-82f4-005056b06a43"}'" -
Setting the “-v3-hide-snapshot” option on an NFS server is currently not possible via Ansible either.
-> "vserver nfs modify -vserver <SVM> -v3-hide-snapshot enabled"
--> RestAPI equivalent field is "protocol.v3_features.hide_snapshot_enabled" -
Configure CIFS security options is not possible
-> vserver cifs security modify -vserver <SVM> -session-security-for-ad-ldap sign
-> vserver cifs security modify -vserver <SVM> -is-aes-encryption-enabled true
--> RestAPI equivalent "curl -ku admin:Netapp1! -X PATCH "https://cluster1.demo.netapp.com/api/protocols/cifs/services/276ca4b1-b008-11f0-b77d-005056ab4f0e" -d '{"security.session_security":"sign"}'"
--> RestAPI equivalent "curl -ku admin:Netapp1! -X PATCH "https://cluster1.demo.netapp.com/api/protocols/cifs/services/276ca4b1-b008-11f0-b77d-005056ab4f0e" -d '{"security.kdc_encryption":"true"}'"
Can you take a look at this and add it to the backlog so that these features will be available in a future version of Ansible?
Thank you and best regards