Deprecated

Removed in 2.0.0

i

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

community.general.na_cdot_license (1.3.11) — module

Manage NetApp cDOT protocol and feature licenses

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

Install collection

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


Add to requirements.yml

  collections:
    - name: community.general
      version: 1.3.11

Description

Add or remove licenses on NetApp ONTAP.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Add licenses
  community.general.na_cdot_license:
    hostname: "{{ netapp_hostname }}"
    username: "{{ netapp_username }}"
    password: "{{ netapp_password }}"
    serial_number: #################
    licenses:
      nfs: #################
      cifs: #################
      iscsi: #################
      fcp: #################
      snaprestore: #################
      flexclone: #################
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove licenses
  community.general.na_cdot_license:
    hostname: "{{ netapp_hostname }}"
    username: "{{ netapp_username }}"
    password: "{{ netapp_password }}"
    remove_unused: false
    remove_expired: true
    serial_number: #################
    licenses:
      nfs: remove

Inputs

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

licenses:
    description:
    - List of licenses to add or remove.
    - Please note that trying to remove a non-existent license will throw an error.
    suboptions:
      base:
        description:
        - Cluster Base License
      cdmi:
        description:
        - CDMI License
      cifs:
        description:
        - CIFS License
      fcp:
        description:
        - FCP License
      flexclone:
        description:
        - FlexClone License
      iscsi:
        description:
        - iSCSI License
      nfs:
        description:
        - NFS License
      snaplock:
        description:
        - SnapLock License
      snapmanagersuite:
        description:
        - SnapManagerSuite License
      snapmirror:
        description:
        - SnapMirror License
      snapprotectapps:
        description:
        - SnapProtectApp License
      snaprestore:
        description:
        - SnapRestore License
      snapvault:
        description:
        - SnapVault License
      v_storageattach:
        description:
        - Virtual Attached Storage License

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

remove_unused:
    default: false
    description:
    - Remove licenses that have no controller affiliation in the cluster.
    type: bool

serial_number:
    description:
    - Serial number of the node associated with the license.
    - This parameter is used primarily when removing license for a specific service.
    - If this parameter is not provided, the cluster serial number is used by default.

remove_expired:
    default: false
    description:
    - Remove licenses that have expired in the cluster.
    type: bool