Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

na_cloudmanager_cifs_server

Chris Archibald edited this page Apr 8, 2021 · 2 revisions
orphan:

netapp.cloudmanager.na_cloudmanager_cifs_server -- NetApp Cloud Manager cifs server

Note

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

To install it use: ansible-galaxy collection install netapp.cloudmanager.

To use it in a playbook, specify: netapp.cloudmanager.na_cloudmanager_cifs_server.

.. versionadded:: 21.3.0 of netapp.cloudmanager

  • Create or Delete a CIFS server on the Cloud Volume ONTAP system to support CIFS volumes, based on an Active Directory or Workgroup.
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.
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 / required
The refresh token 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.

Note

  • Support check_mode.
  • The modules prefixed with cloudmanager_netapp are built to Manage AWS/GCP/Azure CLOUDMANAGER.
- 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