Debian Codegraph @

ansible_collections/ibm/storage_virtualize/playbooks/initial_setup_system_complete.yml

raw symbols SCIP
1 - name: Using Storage Virtualize collection to automate initial setup configuration
2 hosts: localhost
3 gather_facts: false
4 vars:
5 clustername: 'clustername'
6 username: 'username'
7 password: 'password'
8 address: 'address'
9 city: 'city'
10 company_name: 'company_name'
11 contact_email: 'contact_email'
12 contact_name: 'contact_name'
13 country: 'country'
14 location: 'location'
15 primary_phonenumber: 'primary_phonenumber'
16 postal_code: 'postal_code'
17 province: 'province'
18 server_ip: 'x.x.x.x'
19 server_port: 'xxxx'
20 system_name: 'system_name'
21 connection: local
22 tasks:
23 - name: Get auth token
24 register: results
25 no_log: true
26 ibm.storage_virtualize.ibm_svc_auth:
27 clustername: "{{ clustername }}"
28 username: "{{ username }}"
29 password: "{{ password }}"
30 - name: 1.initial setup config
31 ibm.storage_virtualize.ibm_svc_initial_setup:
32 clustername: "{{ clustername }}"
33 token: "{{ results.token }}"
34 system_name: "{{ system_name }}"
35 dnsname:
36 - dnsserver01
37 dnsip:
38 - 'x.x.x.x'
39 - name: 2.Configure callhome with "email"
40 ibm.storage_virtualize.ibm_svc_manage_callhome:
41 clustername: "{{ clustername }}"
42 token: "{{ results.token }}"
43 state: "enabled"
44 callhome_type: "email"
45 address: "{{ address }}"
46 city: "{{ city }}"
47 company_name: "{{ company_name }}"
48 contact_email: "{{ contact_email }}"
49 contact_name: "{{ contact_name }}"
50 country: "{{ country }}"
51 location: "{{ location }}"
52 phonenumber_primary: "{{ primary_phonenumber }}"
53 postalcode: "{{ postal_code }}"
54 province: "{{ province }}"
55 serverIP: "{{ server_ip }}"
56 serverPort: "{{ server_port }}"
57 inventory: "on"
58 invemailinterval: 1
59 enhancedcallhome: "on"
60 censorcallhome: "on"
61 - name: 3.Configure SRA
62 ibm.storage_virtualize.ibm_svc_manage_sra:
63 clustername: "{{ clustername }}"
64 token: "{{ results.token }}"
65 state: enabled
66 name: SRA
67 sra_ip: y.y.y.y
68 sra_port: 22
69 support: remote
70 - name: 4.Complete initial setup
71 ibm.storage_virtualize.ibm_svc_complete_initial_setup:
72 clustername: "{{ clustername }}"
73 username: "{{ username }}"
74 password: "{{ password }}"