ansible / ansible.builtin / v2.9.27 / module / netapp_e_amg_role NetApp E-Series update the role of a storage array within an Asynchronous Mirror Group (AMG). | "added in version" 2.2 of ansible.builtin" Authors: Kevin Hulquest (@hulquest) preview | supported by communityansible.builtin.netapp_e_amg_role (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Update a storage array to become the primary or secondary instance in an asynchronous mirror group
- 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 }}"
role: choices: - primary - secondary description: - Whether the array should be the primary or secondary array for the AMG required: true ssid: description: - The ID of the primary storage array for the async mirror action required: true force: default: false description: - Whether to force the role reversal regardless of the online-state of the primary required: false type: bool noSync: default: false description: - Whether to avoid synchronization prior to role reversal required: false type: bool 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 validate_certs: default: true description: - Should https certificates be validated? required: false type: bool
msg: description: Failure message returned: failure sample: No Async Mirror Group with the name. type: str