netapp_eseries.santricity.netapp_e_snapshot_images – NetApp E-Series create and delete snapshot images¶
Note
This plugin is part of the netapp_eseries.santricity collection (version 1.1.0).
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 version 2.2: of netapp_eseries.santricity
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¶
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 | Returned | Description |
---|---|---|
image_id
string
|
state == created |
ID of snapshot image
Sample:
3400000060080E5000299B640063074057BC5C5E
|
msg
string
|
always |
State of operation
Sample:
Created snapshot image
|
Authors¶
Kevin Hulquest (@hulquest)