netapp.ontap
netapp.ontap copied to clipboard
na_ontap_cifs_server missing the comment property
Summary
Creating a CIFS server via netapp.ontap.na_ontap_cifs_server
.
The module appears to be lacking support for the the comment
property.
SSH/CLI equivalent: ::> vserver cifs create -cifs-server xxx -comment "CIFS Server Comment"
REST API appears to have support for comment property on a CIFS server, at least for ONTAP 9.12. https://docs.netapp.com/us-en/ontap-restapi-9121/ontap/post-protocols-cifs-services.html#important-notes
Currently targeting NetApp Release 9.12.1 (VSIM/SIMBOX), but I don't believe this to be platform/version dependent.
Currently using version 22.11.0 of the collection. Nothing in the 22.12.0 release notes (nor documentation/main branch) suggests that this has changed.
Desired to have the ability to create a CIFS server with a comment when joining to Active Directory. Ansible collection/module lacking feature parity with the REST API / CLI.
Component Name
na_ontap_cifs_server
Additional Information
- name: Create cifs_server
netapp.ontap.na_ontap_cifs_server:
state: present
name: data2
vserver: svm1
service_state: stopped
comment: "My missing CIFS Server Comment"
domain: "{{ id_domain }}"
admin_user_name: "{{ domain_login }}"
admin_password: "{{ domain_pwd }}"
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"
validate_certs: false
use_rest: always