ibm / ibm.storage_virtualize / 2.3.1 / module / ibm_sv_switch_replication_direction This module switches the replication direction on IBM Storage Virtualize family systems | "added in version" 1.10.0 of ibm.storage_virtualize" Authors: Shilpi Jain(@Shilpi-J)ibm.storage_virtualize.ibm_sv_switch_replication_direction (2.3.1) — module
Install with ansible-galaxy collection install ibm.storage_virtualize:==2.3.1
collections: - name: ibm.storage_virtualize version: 2.3.1
Ansible interface to manage the chvolumegroupreplication command.
This module can be used to switch replication direction.
- name: Switch to independent mode ibm.storage_virtualize.ibm_sv_switch_replication_direction: clustername: "{{ clustername }}" username: "{{ username }}" password: "{{ password }}" mode: independent name: vg0
mode: choices: - independent - production description: - Specifies the replication mode of the volume group. required: true type: str name: description: - Specifies the name of the volume group. required: true type: str token: description: - The authentication token to verify a user on the Storage Virtualize system. - To generate a token, use the M(ibm.storage_virtualize.ibm_svc_auth) module. type: str domain: description: - Domain for the Storage Virtualize system. - Valid when the hostname is used for the parameter I(clustername). type: str log_path: description: - Path of debug log file. type: str password: description: - REST API password for the Storage Virtualize system. - The parameters I(username) and I(password) are required if not using I(token) to authenticate a user. type: str username: description: - REST API username for the Storage Virtualize system. - The parameters I(username) and I(password) are required if not using I(token) to authenticate a user. type: str clustername: description: - The hostname or management IP of the Storage Virtualize system. required: true type: str validate_certs: default: false description: - Validates certification. type: bool