New in version 2.2.
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.
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| api_password | yes | The password to authenticate with the SANtricity WebServices Proxy or embedded REST API. |
||
| api_url | yes | The url to the SANtricity WebServices Proxy or embedded REST API. |
||
| api_username | yes | The username to authenticate with the SANtricity WebServices Proxy or embedded REST API. |
||
| snapshot_group | yes | The name of the snapshot group in which you want to create a snapshot image. |
||
| state | yes |
| Whether a new snapshot image should be created or oldest be deleted. |
|
| validate_certs | no | True | Should https certificates be validated? |
- 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'
Common return values are documented here Common Return Values, the following are the fields unique to this module:
| name | description | returned | type | sample |
|---|---|---|---|---|
| msg | ||||
| image_id | ||||
| changed |
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/netapp_e_snapshot_images_module.html