Skip to content

Commit

Permalink
oradb_manage_db: Bugfix for undefined variable listener_home_config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Nov 25, 2023
1 parent 9c34440 commit 18eea18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/listener_home_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "oradb_manage_db: Bugfix for undefined variable listener_home_config (oravirt#386)"
3 changes: 2 additions & 1 deletion roles/oradb_manage_db/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ _oradb_manage_db_tns_loop_helper: "{{ tnsinst | default(sqlnetinst) | default({}
_oradb_manage_db_tns_home: |-
{%- if db_homes_config[_oradb_manage_db_tns_loop_helper.home]['readonly_home'] | default(false) %}
{{ oracle_base }}/homes/{{ db_homes_config[_oradb_manage_db_tns_loop_helper.home]['oracle_home_name'] }}
{%- else %}{{ listener_home_config }}{% endif -%}
{%- else %}{{ db_homes_config[_oradb_manage_db_tns_loop_helper.home]['oracle_home'] }}{% endif -%}
# Do not set this variable in inventory, set_fact ...!
_oradb_manage_db_oracle_dbca_rsp: "dbca_{{ odb.oracle_db_name }}.rsp"

Expand Down

0 comments on commit 18eea18

Please sign in to comment.