Note
This module is part of the ibm.spectrum_virtualize collection (version 2.0.0).
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 ibm.spectrum_virtualize.
To use it in a playbook, specify: ibm.spectrum_virtualize.ibm_sv_manage_truststore_for_replication.
Note
The ibm.spectrum_virtualize collection has been renamed to ibm.storage_virtualize and will be removed from Ansible 12. If you use content from ibm.spectrum_virtualize, please update FQCNs in your playbooks and roles! When creating new playbooks or roles, directly use content from ibm.storage_virtualize instead.
New in ibm.spectrum_virtualize 1.10.0
Parameter | Comments |
|---|---|
clustername string / required | The hostname or management IP of the Spectrum Virtualize storage system. |
key_filename string | SSH client private key filename. By default, ~/.ssh/id_rsa is used. |
log_path string | Path of debug log file. |
name string | Specifies the name of the trust store. If not specified, the module generates a name automatically with format store_I(remote_clustername). |
password string | Password for the Spectrum Virtualize storage system. Mandatory, when usesshkey=no. |
remote_clustername string / required | Specifies the name of the partner remote cluster with which mTLS partnership needs to be setup. |
remote_password string | Password for remote cluster. Applies when state=present to create a trust store. |
remote_username string | Username for remote cluster. Applies when state=present to create a trust store. |
state string / required | Creates ( Choices:
|
username string / required | Username for the Spectrum Virtualize storage system. |
usesshkey string | For key-pair based SSH connection, set this field as “yes”. Provide full path of key in key_filename field. If not provided, default path of SSH key is used. Choices:
|
Note
check_mode.- name: Create truststore
ibm.spectrum_virtualize.ibm_sv_manage_truststore_for_replication:
clustername: "{{clustername}}"
username: "{{username}}"
password: "{{password}}"
name: "{{name}}"
remote_clustername: "{{remote_clustername}}"
remote_username: "{{remote_username}}"
remote_password: "{{remote_password}}"
log_path: "{{log_path}}"
state: "present"
- name: Delete truststore
ibm.spectrum_virtualize.ibm_sv_manage_truststore_for_replication:
clustername: "{{clustername}}"
username: "{{username}}"
password: "{{password}}"
name: "{{name}}"
remote_clustername: "{{remote_clustername}}"
log_path: "{{log_path}}"
state: "absent"
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/ibm/spectrum_virtualize/ibm_sv_manage_truststore_for_replication_module.html