Deprecated

Removed in 2.0.0

i

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

community.general.na_cdot_qtree (1.3.14) — module

Manage qtrees

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 Qtrees.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create QTree
  community.general.na_cdot_qtree:
    state: present
    name: ansibleQTree
    flexvol_name: ansibleVolume
    vserver: ansibleVServer
    hostname: "{{ netapp_hostname }}"
    username: "{{ netapp_username }}"
    password: "{{ netapp_password }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Rename QTree
  community.general.na_cdot_qtree:
    state: present
    name: ansibleQTree
    flexvol_name: ansibleVolume
    vserver: ansibleVServer
    hostname: "{{ netapp_hostname }}"
    username: "{{ netapp_username }}"
    password: "{{ netapp_password }}"

Inputs

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

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

vserver:
    description:
    - The name of the vserver to use.
    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

flexvol_name:
    description:
    - The name of the FlexVol the Qtree should exist on. Required when C(state=present).