File tree Expand file tree Collapse file tree 2 files changed +4
-23
lines changed Expand file tree Collapse file tree 2 files changed +4
-23
lines changed Original file line number Diff line number Diff line change 2626 with_items : asm_diskgroups
2727 sudo : yes
2828 sudo_user : " {{ grid_install_user }}"
29- when : master_node and oracle_install_version_gi == " 11.2.0.4"
29+ when : master_node and ' 11.2' in oracle_install_version_gi
3030 tags : srvctlasm
3131 register : srvctlasm
3232
3535 with_items : asm_diskgroups
3636 sudo : yes
3737 sudo_user : " {{ grid_install_user }}"
38- when : master_node and oracle_install_version_gi != "11.2.0.4"
38+ when : master_node and '12.1' in oracle_install_version_gi
3939 tags : srvctlasm
4040 register : srvctlasm
4141
Original file line number Diff line number Diff line change 120120 when : master_node and checkgiinstall.stdout != "1" # and oracle_sw_unpack
121121 register : giinstall
122122
123- # - name: Install Grid Infrastructure
124- # shell: "{{ oracle_stage }}/{{ oracle_install_version_gi }}/grid/runInstaller -responseFile {{ oracle_rsp_stage }}/{{ oracle_grid_responsefile }} -waitforcompletion -ignorePrereq -ignoreSysPrereqs -showProgress -silent"
125- # sudo: yes
126- # sudo_user: "{{ grid_install_user }}"
127- # tags:
128- # - oragridinstall
129- # when: master_node and checkgiinstall.stdout != "1" not and oracle_sw_unpack
130- # register: giinstall
131-
132123 - debug : var=giinstall.stdout_lines
133124 when : master_node and checkgiinstall.stdout != "1"
134125
177168 ignore_errors : true
178169 register : configtool
179170
180- # - name: Run configToolAllCommands (v11.2)
181- # shell: "{{ oracle_home_gi }}/cfgtoollogs/configToolAllCommands RESPONSE_FILE={{ oracle_rsp_stage }}/configtoolallcommands.rsp"
182- # sudo: yes
183- # sudo_user: "{{ grid_install_user }}"
184- # tags:
185- # - runconfigtool
186- # when: master_node and run_configtoolallcommand and '11.2' in oracle_install_version_gi and checkgiinstall.stdout != "1"
187- # ignore_errors: true
188- # register: configtool
189-
190171 - name : Check if stuff is running
191172 shell : " {{ oracle_home_gi }}/bin/crsctl stat res -t"
192173 tags :
238219 shell : " {{ oracle_home_gi }}/bin/olsnodes -a -n -s -t"
239220 sudo : yes
240221 sudo_user : " {{ grid_install_user }}"
241- when : oracle_gi_cluster_type |upper == 'FLEX'
222+ when : oracle_gi_cluster_type |upper == 'FLEX' and '12.1' in oracle_install_version_gi
242223 register : olsnodes
243224 tags :
244225 - olsnodes
245226
246227 - name : Check olsnodes (GI)
247228 debug : var=olsnodes.stdout_lines
248- when : oracle_gi_cluster_type|upper == 'FLEX'
229+ when : oracle_gi_cluster_type|upper == 'FLEX' and '12.1' in oracle_install_version_gi
249230 tags :
250231 - olsnodes
251232
You can’t perform that action at this time.
0 commit comments