ansible / ansible.builtin / v2.3.0.0-1 / module / netapp_e_snapshot_images Create and delete snapshot images | "added in version" 2.2 of ansible.builtin" Authors: Kevin Hulquest (@hulquest) preview | supported by communityansible.builtin.netapp_e_snapshot_images (v2.3.0.0-1) — module
pip
Install with pip install ansible==2.3.0.0.post1
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.
- 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'
state: choices: - create - remove description: - Whether a new snapshot image should be created or oldest be deleted. required: true api_url: description: - The url to the SANtricity WebServices Proxy or embedded REST API. 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 snapshot_group: description: - The name of the snapshot group in which you want to create a snapshot image. required: true validate_certs: default: true description: - Should https certificates be validated? required: false
changed: true image_id: '3400000060080E5000299B640063074057BC5C5E ' msg: Created snapshot image