ansible / ansible.builtin / v2.5.12 / module / netapp_e_amg_role 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.5.12) — module
pip
Install with pip install ansible==2.5.12
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 noSync: choices: - true - false default: false description: - Whether to avoid synchronization prior to role reversal required: false 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
msg: description: Failure message returned: failure sample: No Async Mirror Group with the name. type: string