Skip to content

Commit

Permalink
molecule: Added APEX and ORDS to dbfs-ol9
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Sep 13, 2024
1 parent 6e94270 commit d83bfd9
Show file tree
Hide file tree
Showing 6 changed files with 93 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 @@
---
major_changes:
- "molecule: Added APEX and ORDS to dbfs-ol9 (oravirt#473)"
3 changes: 3 additions & 0 deletions extensions/molecule/dbfs-ol9/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@

- name: Converge manage_db
ansible.builtin.import_playbook: opitzconsulting.ansible_oracle.manage_db

- name: Converge manage_ords
ansible.builtin.import_playbook: opitzconsulting.ansible_oracle.manage_ords
1 change: 1 addition & 0 deletions extensions/molecule/dbfs-ol9/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ provisioner:
inventory:
links:
group_vars: ../shared_config/inventory/group_vars/
host_vars: ../shared_config/inventory/host_vars/
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ oracle_sw_patches:
patchid: 30839369
version: 21.0.0.0
description: Latest cluvfy
- filename: p36695709_2410_Generic.zip
patchid: 36695709
version: 24.1
description: PSE BUNDLE FOR APEX 24.1
opatch_needed: false
- filename: p36582781_190000_Linux-x86-64.zip
patchid: 36582781
version: 19.3.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ dbpasswords:
SYS: Oracle123
ORCLPDB:
PDBROOT: pdb
DB2:
ORCLPDB1:
pdbadmin: Oracle_456
ords_public_user: ords123
apex_public_router: ords123
apex_public_user: ords123
apex_rest_public_user: ords123

oraapex_default_admin_password: Oracle_Apex_1
72 changes: 72 additions & 0 deletions extensions/molecule/shared_config/inventory/host_vars/dbfs-ol9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
---
oraords_db_pools:
- db_pool: default
pdb_name: ORCLPDB1
admin_user: sys
service: ORCLPDB1
port: 1521
host: dbfs-ol9
feature_db_api: true
feature_rest_enabled_sql: true
feature_sdw: true

oraords_db_pools_password:
default:
admin_password: Oracle_123
ords_password: Oracle_456

oracle_databases:
- home: db19-si-ee
oradb_facts_ignore_unreachable: true
oracle_db_name: &oracle_db_name2 DB2
oracle_db_type: SI
is_container: true
storage_type: FS
oracle_database_type: MULTIPURPOSE
redolog_size: 50M
redolog_groups: 3
datafile_dest: /u01/app/oracle/oradata
recoveryfile_dest: /u01/app/oracle//fra
listener_name: LISTENER
listener_port: 1521
archivelog: false
flashback: false
force_logging: false
state: present
tablespaces:
- name: TEST
size: 10M
autoextend: true
next: 50M
maxsize: 4G
content: permanent
state: present
init_parameters:
- {name: db_create_file_dest, value: '/u01/app/oracle/oradata', scope: both, state: present}
- {name: db_create_online_log_dest_1, value: '/u01/app/oracle/oradata', scope: both, state: present}
- {name: recyclebin, value: 'off', scope: spfile, state: present}
- {name: pga_aggregate_target, value: '128M', scope: both, state: present}
- {name: sga_target, value: '1808M', scope: spfile, state: present}

oracle_pdbs:
- cdb: DB2
home: db19-si-ee
pdb_name: ORCLPDB1
listener_port: 1521
state: present
datafile_dest: /u01/app/oracle/oradata
apex_state: present
apex_version: 24.1
apex_patch: 36695709
- cdb: DB2
home: db19-si-ee
pdb_name: ORCLPDB2
listener_port: 1521
state: present
datafile_dest: /u01/app/oracle/oradata
- cdb: DB2
home: db19-si-ee
pdb_name: ORCLPDB3
listener_port: 1521
state: present
datafile_dest: /u01/app/oracle/oradata

0 comments on commit d83bfd9

Please sign in to comment.