netapp_eseries.santricity.netapp_e_snapshot_volume – NetApp E-Series manage snapshot volumes.¶
Note
This plugin is part of the netapp_eseries.santricity collection (version 1.2.7).
To install it use: ansible-galaxy collection install netapp_eseries.santricity
.
To use it in a playbook, specify: netapp_eseries.santricity.netapp_e_snapshot_volume
.
New in version 2.2: of netapp_eseries.santricity
Parameters¶
Notes¶
Note
Only full_threshold is supported for update operations. If the snapshot volume already exists and the threshold matches, then an
ok
status will be returned, no other changes can be made to a pre-existing snapshot volume.
Examples¶
- 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 }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg
string
|
success |
Success message
Sample:
Json facts for the volume that was created.
|
Authors¶
Kevin Hulquest (@hulquest)