community / community.general / 0.2.1 / module / na_cdot_license
Removed in 2.0.0
Reason:Updated modules released with increased functionality | Alternative:Use M(na_ontap_license) instead.
Manage NetApp cDOT protocol and feature licenses
Authors: Sumit Kumar (@timuster) <sumit4@netapp.com>
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
Add or remove licenses on NetApp ONTAP.
- name: Add licenses na_cdot_license: hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" serial_number: ################# licenses: nfs: ################# cifs: ################# iscsi: ################# fcp: ################# snaprestore: ################# flexclone: #################
- name: Remove licenses na_cdot_license: hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" remove_unused: false remove_expired: true serial_number: ################# licenses: nfs: remove
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: 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: description: - Remove licenses that have expired in the cluster. type: bool