-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
secretsmanagersecrets for oracle19c
- Loading branch information
Showing
10 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,5 @@ disks_mount: | |
- ebs_device_name: /dev/sds | ||
dir: swap | ||
fstype: swap | ||
|
||
use_ssm_params: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,3 +69,5 @@ disks_mount: | |
- ebs_device_name: /dev/sds | ||
dir: swap | ||
fstype: swap | ||
|
||
use_ssm_params: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
--- | ||
- name: Get SSM parameters | ||
import_role: | ||
name: ssm-passwords | ||
vars: | ||
ssm_passwords: "{{ db_ssm_passwords }}" | ||
|
||
- name: Get SSM parameters | ||
set_fact: | ||
asmpassword: "{{ ssm_passwords_dict['asm'].passwords['ASMSYS'] }}" | ||
asmmonitorpassword: "{{ ssm_passwords_dict['asm'].passwords['ASMSNMP'] }}" | ||
|
||
- name: Get secretsmanager passwords | ||
block: | ||
- name: secretsmanager passwords | ||
import_role: | ||
name: secretsmanager-passwords | ||
vars: | ||
secretsmanager_passwords: "{{ db_secretsmanager_passwords }}" | ||
|
||
- name: secretsmanager passwords | ||
set_fact: | ||
asmpassword: "{{ secretsmanager_passwords_dict['asm'].passwords['ASMSYS'] }}" | ||
asmmonitorpassword: "{{ secretsmanager_passwords_dict['asm'].passwords['ASMSNMP'] }}" | ||
|
||
when: not use_ssm_params | ||
|
||
- name: Get SSM params | ||
block: | ||
- name: Get SSM parameters | ||
import_role: | ||
name: ssm-passwords | ||
vars: | ||
ssm_passwords: "{{ db_ssm_passwords }}" | ||
|
||
- name: Get SSM parameters | ||
set_fact: | ||
asmpassword: "{{ ssm_passwords_dict['asm'].passwords['ASMSYS'] }}" | ||
asmmonitorpassword: "{{ ssm_passwords_dict['asm'].passwords['ASMSNMP'] }}" | ||
|
||
when: use_ssm_params |