netapp.cloudmanager.na_cloudmanager_cifs_server module – NetApp Cloud Manager cifs server
Note
This module is part of the netapp.cloudmanager collection (version 21.22.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netapp.cloudmanager
.
To use it in a playbook, specify: netapp.cloudmanager.na_cloudmanager_cifs_server
.
New in netapp.cloudmanager 21.3.0
Synopsis
Create or Delete a CIFS server on the Cloud Volume ONTAP system to support CIFS volumes, based on an Active Directory or Workgroup.
Parameters
Parameter |
Comments |
---|---|
The connector ID of the Cloud Manager Connector. |
|
The DNS domain name. For CIFS AD only. |
|
The active directory domain name. For CIFS AD only. |
|
The environment for NetApp Cloud Manager API operations. Choices:
|
|
Enable or disable a new feature. This can be used to enable an experimental feature or disable a new feature that breaks backward compatibility. Supported keys and values are subject to change without notice. Unknown keys are ignored. |
|
The DNS server IP addresses. For CIFS AD only. |
|
For CIFS workgroup operations, set to true. Choices:
|
|
The CIFS server NetBIOS name. For CIFS AD only. |
|
The organizational unit in which to register the CIFS server. For CIFS AD only. |
|
The active directory admin password. For CIFS AD only. |
|
The refresh token for NetApp Cloud Manager API operations. |
|
The service account secret client ID for NetApp Cloud Manager API operations. |
|
The service account secret key for NetApp Cloud Manager API operations. |
|
The server name. For CIFS workgroup only. |
|
Whether the specified cifs server should exist or not. Choices:
|
|
The active directory admin user name. For CIFS AD only. |
|
The workgroup name. For CIFS workgroup only. |
|
The public ID of the working environment where the cifs server will be created. |
|
The working environment name where the cifs server will be created. |
Notes
Note
Support check_mode.
The modules prefixed with na_cloudmanager are built to manage CloudManager and CVO deployments in AWS/GCP/Azure clouds.
If sa_client_id and sa_secret_key are provided, service account will be used in operations. refresh_token will be ignored.
Examples
- name: Create cifs server with working_environment_id
netapp.cloudmanager.na_cloudmanager_cifs_server:
state: present
working_environment_id: VsaWorkingEnvironment-abcdefgh
client_id: your_client_id
refresh_token: your_refresh_token
domain: example.com
username: admin
password: pass
dns_domain: example.com
ip_addresses: ["1.0.0.0"]
netbios: cvoname
organizational_unit: CN=Computers