Skip to content

Commit

Permalink
oraswdb_install: fix broken Transfer oracle installfiles to server
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Mar 14, 2024
1 parent 39c3162 commit f341e40
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/oraswdb_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "oraswdb_install: fix broken Transfer oracle installfiles to server (oravirt#421)"
2 changes: 1 addition & 1 deletion roles/oraswdb_install/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@
- "{{ db_homes_installed }}"
become: true
become_user: "{{ oracle_user }}"
run_once: "{{ _oraswgi_meta_configure_cluster }}"
loop_control:
loop_var: dbh
label: >-
home: "{{ dbh.home }}"
imgname: "{{ _local_oracle_sw_image_db | default('') }}"
when:
- _orasw_meta_primary_node | bool
- dbh.state == 'present'
- is_sw_source_local
- oracle_sw_copy
Expand Down
5 changes: 3 additions & 2 deletions roles/oraswdb_install/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ _oraswdb_install_choptcheck: "{% if oraswdb_install_forcechopt | bool %}dochopt{

_oraswdb_install_dbh_stat: >-
{{ stat_dbh_installed.results
| selectattr('invocation.module_args.path', 'equalto', db_homes_config[dbh.home]['oracle_home'])
| first }}
| selectattr('invocation.module_args.path', 'equalto', (db_homes_config[dbh.home]['oracle_home'] + '/root.sh'))
| list | first
}}
_local_oracle_sw_image_db: >-
{{ db_homes_config[dbh.home].imagename
Expand Down

0 comments on commit f341e40

Please sign in to comment.