Skip to content

Commit

Permalink
oradb_manage_tablespace: added missing defaults for password
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Feb 16, 2023
1 parent 27c1063 commit 9d8e0dc
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ opitzconsulting.ansible_oracle Release Notes
.. contents:: Topics


v3.5.1
======

Bugfixes
--------

- oradb_manage_tablespace: added missing defaults for password (oravirt#323)

v3.5.0
======

Expand Down
2 changes: 1 addition & 1 deletion changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ plugins:
shell: {}
strategy: {}
vars: {}
version: 3.5.0
version: 3.5.1
7 changes: 7 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,10 @@ releases:
- pam_limits_config.yml
- release-info.yml
release_date: '2023-02-02'
3.5.1:
changes:
bugfixes:
- 'oradb_manage_tablespace: added missing defaults for password (oravirt#323)'
fragments:
- tablespace.yml
release_date: '2023-02-16'
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace: opitzconsulting
name: ansible_oracle
description: "This is the collection of ansible-oracle from https://github.com/oravirt/ansible-oracle"
version: 3.5.0
version: 3.5.1
repository: https://github.com/oravirt/ansible-oracle.git
readme: README.md
authors:
Expand Down
10 changes: 10 additions & 0 deletions roles/oradb_manage_tablespace/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ user_pdb_password: "{% if dbpasswords is defined and dbpasswords[item.0.cdb] is
{%- endif%}"
# noqa yaml

db_password_cdb: "{% if dbpasswords is defined and dbpasswords[item.0.oracle_db_name] is defined and dbpasswords[item.0.oracle_db_name][db_user] is defined %}{{ dbpasswords[item.0.oracle_db_name][db_user] }}
{%- else %}{{ default_dbpass }}
{%- endif %}"
# noqa yaml

db_password_pdb: "{% if dbpasswords is defined and dbpasswords[item.0.cdb] is defined and dbpasswords[item.0.cdb][db_user] is defined %}{{ dbpasswords[item.0.cdb][db_user] }}
{%- else %}{{ default_dbpass }}
{%- endif%}"
# noqa yaml

db_service_name: "{% if item.0 is defined %}
{%- if item.0.oracle_db_unique_name is defined %}{{ item.0.oracle_db_unique_name }}
{%- elif item.0.oracle_db_instance_name is defined %}{{ item.0.oracle_db_instance_name }}
Expand Down

0 comments on commit 9d8e0dc

Please sign in to comment.