Skip to content

Commit

Permalink
oradb-manage-statspack: README + fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Sep 11, 2021
1 parent 17f67ec commit d368c3c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
19 changes: 16 additions & 3 deletions roles/oradb-manage-statspack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,28 @@ inside the database. The detection of existing statspack installation
is based on the perfstat user. The installation will be skkipped when
user is existing.


Role Variables
--------------

The following example only shows mandatory variables from oracle_databases:

```yaml
oracle_databases:
- oracle_db_name: DB1
oracle_db_type: SI
statspack:
state: present
tablespace: sysaux
tablespace_temp: temp
purgedays: 14
snaplevel: 7
snapinterval: "FREQ=hourly;byminute=0;bysecond=0"
```
Dependencies
------------

Author Information
------------------
Thorsten Bruhns <thorsten.bruhns@googlemail.com>
Thorsten Bruhns <thorsten.bruhns@googlemail.com>
2 changes: 1 addition & 1 deletion roles/oradb-manage-statspack/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
environment:
ORACLE_HOME: "{{ oracle_home_db }}"
ORACLE_SID: "{{ dbh.oracle_db_instance_name | default(dbh.oracle_db_unique_name | default(dbh.oracle_db_name)) }}"
perfstat_password: perfstat
perfstat_password: "{{ db_password_cdb }}"
temporary_tablespace: "{{ dbh.statspack.tablespace_temp | default('temp') }}"
default_tablespace: "{{ dbh.statspack.tablespace | default('sysaux') }}"
purgedates: "{{ dbh.statspack.purgedays | default(35) }}"
Expand Down

0 comments on commit d368c3c

Please sign in to comment.