Skip to content

Commit

Permalink
oraswgi_install: Removed default password from default_gipass
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Feb 24, 2024
1 parent e5b6d2f commit fc8682b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions changelogs/fragments/default_gipass2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
breaking_changes:
- "oraswgi_install: Removed default password from default_gipass (oravirt#409)"
security_fixes:
- "oraswgi_install: Removed default password from default_gipass (oravirt#409)"
8 changes: 6 additions & 2 deletions roles/oraswgi_install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,16 @@ default_dbpass: '{% if item.0.oracle_db_passwd is defined %}{{ item.0.oracle_db_
### default_gipass
Default password for Grid-Infrastructure.
Default password for Grid-Infrastructure and ASM-Users.
Important
It is mandatory to set this variable in your inventory!
#### Default value
```YAML
default_gipass: "{{ oracle_password | default('') }}"
default_gipass: ''
```
### endoracle_scan_port
Expand Down
7 changes: 5 additions & 2 deletions roles/oraswgi_install/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
gi_ignoreprereq: false

# @var default_gipass:description: >
# Default password for Grid-Infrastructure.
# Default password for Grid-Infrastructure and ASM-Users.
#
# Important
#
# It is mandatory to set this variable in your inventory!
# @end
default_gipass: "{{ oracle_password | default('') }}"
default_gipass: ""

# The check for the old passwords are there for backwards compatibility and only temporary, will be removed
default_dbpass: "{% if item.0.oracle_db_passwd is defined %}{{ item.0.oracle_db_passwd }}{% else %}Oracle123{% endif %}"
Expand Down

0 comments on commit fc8682b

Please sign in to comment.