netapp.cloudmanager.na_cloudmanager_cifs_server – NetApp Cloud Manager cifs server

Note

This plugin is part of the netapp.cloudmanager collection (version 21.9.0).

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 version 21.3.0: of netapp.cloudmanager

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 Choices/Defaults Comments
client_id
string / required
The client ID of the Cloud Manager Connector.
dns_domain
string
The DNS domain name. For CIFS AD only.
domain
string
The active directory domain name. For CIFS AD only.
environment
string
added in 21.8.0 of netapp.cloudmanager
    Choices:
  • prod ←
  • stage
The environment for NetApp Cloud Manager API operations.
ip_addresses
list / elements=string
The DNS server IP addresses. For CIFS AD only.
is_workgroup
boolean
    Choices:
  • no
  • yes
For CIFS workgroup operations, set to true.
netbios
string
The CIFS server NetBIOS name. For CIFS AD only.
organizational_unit
string
The organizational unit in which to register the CIFS server. For CIFS AD only.
password
string
The active directory admin password. For CIFS AD only.
refresh_token
string
The refresh token for NetApp Cloud Manager API operations.
sa_client_id
string
The service account secret client ID for NetApp Cloud Manager API operations.
sa_secret_key
string
The service account secret key for NetApp Cloud Manager API operations.
server_name
string
The server name. For CIFS workgroup only.
state
string
    Choices:
  • present ←
  • absent
Whether the specified cifs server should exist or not.
username
string
The active directory admin user name. For CIFS AD only.
workgroup_name
string
The workgroup name. For CIFS workgroup only.
working_environment_id
string
The public ID of the working environment where the cifs server will be created.
working_environment_name
string
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

Authors