Skip to content

Commit

Permalink
molecule: add tnsname configuration to shared inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Nov 25, 2023
1 parent 7703157 commit 57160c9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- "molecule: add tnsname configuration to shared inventory (oravirt#388)"
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,18 @@ oracle_pdbs:
maxsize: 4G
content: permanent
state: present

_tnsnames_config_pdb_helper:
- key: "{{ oracle_pdbs[0]['pdb_name'] }}"
value:
connect:
service_name: "{{ oracle_pdbs[0]['pdb_name'] }}"
address:
- host: "{{ ansible_hostname }}"

oracle_tnsnames_config: "{{ _tnsnames_config_pdb_helper | items2dict }}"

tnsnames_installed:
- tnsname: "{{ oracle_pdbs[0]['pdb_name'] }}"
home: db19-si-ee
state: present

0 comments on commit 57160c9

Please sign in to comment.