-
Notifications
You must be signed in to change notification settings - Fork 6
/
sagenv-stack-cce-configure.yaml
170 lines (165 loc) · 5.08 KB
/
sagenv-stack-cce-configure.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
---
- import_playbook: sagenv-common-webmethods-load-vars.yaml
tags:
- always
- hosts: "{{ cce_provisioning_command_central_hosts | default('commandcentral') }}"
tasks:
- name: Root tasks
block:
# Let's assume the content is brought by other means because it's so huge, so no copying
- import_role:
name: prepare-cce-provisoning
vars:
cce_prep_type: "content"
cce_copy_content: true
- import_role:
name: prepare-cce-provisoning
vars:
cce_prep_type: "code"
cce_copy_content: true
- import_role:
name: create-known-hosts
vars:
ssh_known_hosts_dir: /etc/ssh
ssh_known_hosts_file: ssh_known_hosts
become: true
tags:
- always
- name: Non Root tasks
block:
- import_role:
name: configure-cce
vars:
config_item: tuning
cce_configure_params: []
cce_configure_params_secure: []
configure_cce_force: true
cce_jvm_memory_min: "{{ cce_jvm_memory_min }}"
cce_jvm_memory_max: "{{ cce_jvm_memory_max }}"
spm_jvm_memory_min: "{{ spm_jvm_memory_min }}"
spm_jvm_memory_max: "{{ spm_jvm_memory_max }}"
ignore_errors: yes
tags:
- configure
- configure-tuning
- import_role:
name: configure-cce
vars:
config_item: creds
cce_configure_params: []
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-creds
- import_role:
name: configure-cce
vars:
config_item: licenses
cce_configure_params:
- name: "CC_SAG_LICENSE_DIR"
value: "{{ cce_provisioning_licenses_path }}"
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-licenses
- import_role:
name: configure-cce
vars:
config_item: repo_images
cce_configure_params:
- name: "CC_SAG_IMAGE_DIR"
value: "{{ cce_provisioning_images_path }}"
- name: "CC_SAG_IMAGE_ACTION"
value: "register"
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-repo-images
- import_role:
name: configure-cce
vars:
config_item: repo_products
cce_configure_params:
- name: "repo_products_version_major"
value: "10"
- name: "repo_products_version_minor"
value: "5"
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-sagrepo-products
- import_role:
name: configure-cce
vars:
config_item: repo_products
cce_configure_params:
- name: "repo_products_version_major"
value: "10"
- name: "repo_products_version_minor"
value: "3"
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-sagrepo-products
- import_role:
name: configure-cce
vars:
config_item: repo_products
cce_configure_params:
- name: "repo_products_version_major"
value: "10"
- name: "repo_products_version_minor"
value: "1"
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-sagrepo-products
- import_role:
name: configure-cce
vars:
config_item: repo_fixes
cce_configure_params: []
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-sagrepo-products
- import_role:
name: configure-cce
vars:
config_item: update
cce_configure_params: []
cce_configure_params_secure: []
configure_cce_force: true
ignore_errors: yes
tags:
- configure
- configure-update
become: true
become_user: "{{ cce_owner }}"
post_tasks:
- name: Non Root tasks
block:
- name: Wait for CCE ports to become open on the host
wait_for:
port: "{{ item }}"
timeout: 600
with_items:
- 8090
- 8091
become: true
tags:
- postinstall