Debian Codegraph @

ansible_collections/ibm/storage_virtualize/playbooks/policy_based_replication/create_mTLS.yml

raw symbols SCIP
1 ---
2 - name: Export SSL certificate internally
3 ibm.storage_virtualize.ibm_sv_manage_ssl_certificate:
4 clustername: "{{ item.cluster_ip }}"
5 token: "{{ item.token }}"
6 log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}"
7 certificate_type: "system"
8 loop:
9 - token: "{{ primary_auth.token }}"
10 cluster_ip: "{{ clusters_data[0].cluster_ip }}"
11 - token: "{{ secondary_auth.token }}"
12 cluster_ip: "{{ clusters_data[1].cluster_ip }}"
13 no_log: true
14
15 - name: Create truststore on primary
16 ibm.storage_virtualize.ibm_sv_manage_truststore_for_replication:
17 clustername: "{{ clusters_data[0].cluster_ip }}"
18 username: "{{ clusters_data[0].cluster_username }}"
19 password: "{{ clusters_data[0].cluster_password }}"
20 log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}"
21 name: trust_primary
22 remote_clustername: "{{ clusters_data[1].cluster_ip }}"
23 remote_username: "{{ clusters_data[1].cluster_username }}"
24 remote_password: "{{ clusters_data[1].cluster_password }}"
25 state: "present"
26
27 - name: Create truststore on secondary
28 ibm.storage_virtualize.ibm_sv_manage_truststore_for_replication:
29 clustername: "{{ clusters_data[1].cluster_ip }}"
30 username: "{{ clusters_data[1].cluster_username }}"
31 password: "{{ clusters_data[1].cluster_password }}"
32 log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}"
33 name: trust_secondary
34 remote_clustername: "{{ clusters_data[0].cluster_ip }}"
35 remote_username: "{{ clusters_data[0].cluster_username }}"
36 remote_password: "{{ clusters_data[0].cluster_password }}"
37 state: "present"
38
39 - name: Enable PBR on partnership on both sides
40 ibm.storage_virtualize.ibm_sv_manage_fc_partnership:
41 clustername: "{{ clusters_data[0].cluster_ip }}"
42 token: "{{ primary_auth.token }}"
43 log_path: "{{ log_path | default('/tmp/ansiblePB.debug') }}"
44 remote_clustername: "{{ clusters_data[1].cluster_ip }}"
45 remote_token: "{{ secondary_auth.token }}"
46 remote_system: "{{ clusters_data[1].cluster_name }}"
47 state: present
48 pbrinuse: "yes"