New in version 2.7.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
account_id required | Account ID or Name of Parent/Source Volume. | |
dest_volume_name required | New Name of destination for restoring the snapshot | |
hostname required | The hostname or IP address of the SolidFire cluster. | |
password required | Password for the specified user. aliases: pass | |
src_snapshot_id required | ID or Name of an existing snapshot. | |
src_volume_id required | ID or Name of source active volume. | |
username required | Please ensure that the user has the adequate permissions. For more information, please read the official documentation https://mysupport.netapp.com/documentation/docweb/index.html?productID=62636&language=en-US. aliases: user |
Note
- name: Restore snapshot to volume tags: - elementsw_create_snapshot_restore na_elementsw_snapshot_restore: hostname: "{{ elementsw_hostname }}" username: "{{ elementsw_username }}" password: "{{ elementsw_password }}" account_id: ansible-1 src_snapshot_id: snapshot_20171021 src_volume_id: volume-playarea dest_volume_name: dest-volume-area
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg string | success | Success message |
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/na_elementsw_snapshot_restore_module.html