Skip to content

Commit 7727ea4

Browse files
committed
oradb-manage-db: Added 'pdb_local_undo' variable. Whether or not local_undo should be used for pdb's (defaults to True)
1 parent c08ee39 commit 7727ea4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

roles/oradb-manage-db/defaults/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
oracle_init_params: "" # Specific parameters to be set during installation. Comma-separated list
103103
oracle_db_mem_totalmb: 1024 # Amount of RAM to be used for SGA + PGA
104104
oracle_database_type: MULTIPURPOSE # MULTIPURPOSE|DATA_WAREHOUSING|OLTP
105-
redolog_size_in_mb: 100
105+
redolog_size: 100M
106+
redolog_groups: 3
106107
listener_name: LISTENER
107108
state: present # present | absent

roles/oradb-manage-db/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
with_items: "{{ oracle_databases }}"
88
tags: set_fact
99

10-
- include: listener.yml
10+
- include_tasks: listener.yml
1111
when: create_listener
1212
tags: listener
1313

@@ -32,7 +32,7 @@
3232
tags:
3333
- customdbcatemplate
3434

35-
- include: manage-db.yml
35+
- include_tasks: manage-db.yml
3636
with_items:
3737
- "{{ oracle_databases }}"
3838
loop_control:

roles/oradb-manage-db/templates/dbca-create-db.rsp.12.2.0.1.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pdbName={% if dbh.is_container and dbh.pdb_prefix is defined %}{{ dbh.pdb_prefix
193193
# Default value : TRUE
194194
# Mandatory : No
195195
#-----------------------------------------------------------------------------
196-
useLocalUndoForPDBs=true
196+
useLocalUndoForPDBs={{ dbh.pdb_local_undo | default (True) }}
197197

198198
#-----------------------------------------------------------------------------
199199
# Name : pdbAdminPassword

0 commit comments

Comments
 (0)