netapp_eseries.santricity.netapp_e_amg_role module – NetApp E-Series update the role of a storage array within an Asynchronous Mirror Group (AMG).
Note
This module is part of the netapp_eseries.santricity collection (version 1.4.1).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netapp_eseries.santricity
.
To use it in a playbook, specify: netapp_eseries.santricity.netapp_e_amg_role
.
New in netapp_eseries.santricity 2.2.0
Synopsis
Update a storage array to become the primary or secondary instance in an asynchronous mirror group
Parameters
Parameter |
Comments |
---|---|
The password to authenticate with the SANtricity WebServices Proxy or embedded REST API. |
|
The url to the SANtricity WebServices Proxy or embedded REST API. |
|
The username to authenticate with the SANtricity WebServices Proxy or embedded REST API. |
|
Whether to force the role reversal regardless of the online-state of the primary Choices:
|
|
Name of the role |
|
Whether to avoid synchronization prior to role reversal Choices:
|
|
Whether the array should be the primary or secondary array for the AMG Choices:
|
|
The ID of the primary storage array for the async mirror action |
|
Should https certificates be validated? Choices:
|
Examples
- name: Update the role of a storage array
netapp_e_amg_role:
name: updating amg role
role: primary
ssid: "{{ ssid }}"
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
validate_certs: "{{ netapp_api_validate_certs }}"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Failure message Returned: failure Sample: |