Deprecated

Removed in 2.0.0

i

Reason:Updated modules released with increased functionality | Alternative:Use M(netapp.ontap.na_ontap_svm) instead.

community.general.na_cdot_svm (1.3.14) — module

Manage NetApp cDOT svm

Authors: Sumit Kumar (@timuster) <sumit4@netapp.com>

Install collection

Install with ansible-galaxy collection install community.general:==1.3.14


Add to requirements.yml

  collections:
    - name: community.general
      version: 1.3.14

Description

Create or destroy svm on NetApp cDOT


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.

    - name: Create SVM
      community.general.na_cdot_svm:
        state: present
        name: ansibleVServer
        root_volume: vol1
        root_volume_aggregate: aggr1
        root_volume_security_style: mixed
        hostname: "{{ netapp_hostname }}"
        username: "{{ netapp_username }}"
        password: "{{ netapp_password }}"

Inputs

    
name:
    description:
    - The name of the SVM to manage.
    required: true

state:
    choices:
    - present
    - absent
    description:
    - Whether the specified SVM should exist or not.
    required: true

hostname:
    description:
    - The hostname or IP address of the ONTAP instance.
    required: true

password:
    aliases:
    - pass
    description:
    - Password for the specified user.
    required: true

username:
    aliases:
    - user
    description:
    - This can be a Cluster-scoped or SVM-scoped account, depending on whether a Cluster-level
      or SVM-level API is required. For more information, please read the documentation
      U(https://mysupport.netapp.com/NOW/download/software/nmsdk/9.4/).
    required: true

root_volume:
    description:
    - Root volume of the SVM. Required when C(state=present).

root_volume_aggregate:
    description:
    - The aggregate on which the root volume will be created.
    - Required when C(state=present).

root_volume_security_style:
    choices:
    - unix
    - ntfs
    - mixed
    - unified
    description:
    - Security Style of the root volume.
    - When specified as part of the vserver-create, this field represents the security
      style for the Vserver root volume.
    - When specified as part of vserver-get-iter call, this will return the list of matching
      Vservers.
    - Possible values are 'unix', 'ntfs', 'mixed'.
    - The 'unified' security style, which applies only to Infinite Volumes, cannot be
      applied to a Vserver's root volume.
    - Valid options are "unix" for NFS, "ntfs" for CIFS, "mixed" for Mixed, "unified"
      for Unified.
    - Required when C(state=present)