netapp_eseries.santricity.netapp_e_snapshot_images module – NetApp E-Series create and delete snapshot images
Note
This module is part of the netapp_eseries.santricity collection (version 1.4.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netapp\_eseries.santricity
.
To use it in a playbook, specify: netapp_eseries.santricity.netapp_e_snapshot_images
.
New in netapp_eseries.santricity 2.2
Synopsis
Create and delete snapshots images on snapshot groups for NetApp E-series storage arrays.
Only the oldest snapshot image can be deleted so consistency is preserved.
Related: Snapshot volumes are created from snapshot images.
Parameters
Parameter |
Comments |
---|---|
The password to authenticate with the SANtricity WebServices Proxy or embedded REST API. |
|
The url to the SANtricity WebServices Proxy or embedded REST API. |
|
The username to authenticate with the SANtricity WebServices Proxy or embedded REST API. |
|
The name of the snapshot group in which you want to create a snapshot image. |
|
Storage system identifier |
|
Whether a new snapshot image should be created or oldest be deleted. Choices:
|
|
Should https certificates be validated? Choices:
|
Examples
- name: Create Snapshot
netapp_e_snapshot_images:
ssid: "{{ ssid }}"
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
validate_certs: "{{ validate_certs }}"
snapshot_group: "3300000060080E5000299C24000005B656D9F394"
state: 'create'
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
ID of snapshot image Returned: state == created Sample: |
|
State of operation Returned: always Sample: |