Skip to content

Commit 485779f

Browse files
committed
parameterized if to run configtoolcommands
1 parent 06163f4 commit 485779f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

oraswgi-install/defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
oracle_sw_source_www: http://www/orasw # address to all software if using the get_url module when putting software on the host(s)
1111
oracle_sw_source_local: /path/to/files/locally # Path to all software if using the copy module when putting software on the host(s)
1212
is_sw_source_local: true
13+
run_configtoolallcommand: true
14+
oracle_cluster_mgmdb: true
1315

oraswgi-install/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@
112112
template: src=configtoolallcommands.rsp.j2 dest={{ oracle_rsp_stage }}/configtoolallcommands.rsp owner={{ oracle_user }} group={{ oracle_group }} mode=600 backup=yes
113113
tags:
114114
- responsefileconfigtool
115-
when: master_node and oracle_cluster_mgmdb and checkgiinstall.stdout != "1"
115+
when: master_node and run_configtoolallcommand and checkgiinstall.stdout != "1"
116116

117117
- name: Run configToolAllCommands
118118
shell: "{{ oracle_home_gi }}/cfgtoollogs/configToolAllCommands RESPONSE_FILE={{ oracle_rsp_stage }}/configtoolallcommands.rsp"
119119
tags:
120120
- runconfigtool
121-
when: master_node and oracle_cluster_mgmdb and checkgiinstall.stdout != "1"
121+
when: master_node and run_configtoolallcommand and checkgiinstall.stdout != "1"
122122
register: configtool
123123

124124
- name: Check if stuff is running

0 commit comments

Comments
 (0)