Skip to content

Commit f341e40

Browse files
committed
oraswdb_install: fix broken Transfer oracle installfiles to server
1 parent 39c3162 commit f341e40

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
bugfixes:
3+
- "oraswdb_install: fix broken Transfer oracle installfiles to server (oravirt#421)"

roles/oraswdb_install/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,13 @@
115115
- "{{ db_homes_installed }}"
116116
become: true
117117
become_user: "{{ oracle_user }}"
118-
run_once: "{{ _oraswgi_meta_configure_cluster }}"
119118
loop_control:
120119
loop_var: dbh
121120
label: >-
122121
home: "{{ dbh.home }}"
123122
imgname: "{{ _local_oracle_sw_image_db | default('') }}"
124123
when:
124+
- _orasw_meta_primary_node | bool
125125
- dbh.state == 'present'
126126
- is_sw_source_local
127127
- oracle_sw_copy

roles/oraswdb_install/vars/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ _oraswdb_install_choptcheck: "{% if oraswdb_install_forcechopt | bool %}dochopt{
3737

3838
_oraswdb_install_dbh_stat: >-
3939
{{ stat_dbh_installed.results
40-
| selectattr('invocation.module_args.path', 'equalto', db_homes_config[dbh.home]['oracle_home'])
41-
| first }}
40+
| selectattr('invocation.module_args.path', 'equalto', (db_homes_config[dbh.home]['oracle_home'] + '/root.sh'))
41+
| list | first
42+
}}
4243
4344
_local_oracle_sw_image_db: >-
4445
{{ db_homes_config[dbh.home].imagename

0 commit comments

Comments
 (0)