ansible / ansible.builtin / v2.5.12 / module / netapp_e_snapshot_volume Manage E/EF-Series snapshot volumes. | "added in version" 2.2 of ansible.builtin" Authors: Kevin Hulquest (@hulquest) preview | supported by communityansible.builtin.netapp_e_snapshot_volume (v2.5.12) — module
pip
Install with pip install ansible==2.5.12
Create, update, remove snapshot volumes for NetApp E/EF-Series storage arrays.
- name: Snapshot volume netapp_e_snapshot_volume: ssid: "{{ ssid }}" api_url: "{{ netapp_api_url }}/" api_username: "{{ netapp_api_username }}" api_password: "{{ netapp_api_password }}" state: present storage_pool_name: "{{ snapshot_volume_storage_pool_name }}" snapshot_image_id: "{{ snapshot_volume_image_id }}" name: "{{ snapshot_volume_name }}"
name: description: - The name you wish to give the snapshot volume required: true ssid: description: - storage array ID required: true state: choices: - absent - present description: - Whether to create or remove the snapshot volume required: true api_url: description: - The url to the SANtricity WebServices Proxy or embedded REST API. required: true view_mode: choices: - modeUnknown - readWrite - readOnly - __UNDEFINED description: - The snapshot volume access mode required: true api_password: description: - The password to authenticate with the SANtricity WebServices Proxy or embedded REST API. required: true api_username: description: - The username to authenticate with the SANtricity WebServices Proxy or embedded REST API. required: true full_threshold: default: 85 description: - The repository utilization warning threshold percentage validate_certs: default: true description: - Should https certificates be validated? required: false repo_percentage: default: 20 description: - The size of the view in relation to the size of the base volume snapshot_image_id: description: - The identifier of the snapshot image used to create the new snapshot volume. - 'Note: You''ll likely want to use the M(netapp_e_facts) module to find the ID of the image you want.' required: true storage_pool_name: description: - Name of the storage pool on which to allocate the repository volume. required: true
msg: description: Success message returned: success sample: Json facts for the volume that was created. type: string