-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add role prefix to variables for the orchestrator role
This resolves the var-naming[no-role-prefix] warning from ansible-lint. This also requires updating the Terraform configuration for the BOD Docker instance.
- Loading branch information
Showing
4 changed files
with
24 additions
and
24 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
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,7 +1,7 @@ | ||
[profile lambda] | ||
region = {{ aws_region }} | ||
region = {{ orchestrator_aws_region }} | ||
|
||
[profile elasticsearch] | ||
credential_source = Ec2InstanceMetadata | ||
region = {{ dmarc_import_aws_region }} | ||
role_arn = {{ dmarc_import_es_role }} | ||
region = {{ orchestrator_dmarc_import_aws_region }} | ||
role_arn = {{ orchestrator_dmarc_import_es_role }} |
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,21 +1,21 @@ | ||
--- | ||
# reporter mongo username | ||
reporter_user: "{{ lookup('aws_ssm', '/cyhy/mongo/users/reporter/user') }}" | ||
orchestrator_reporter_user: "{{ lookup('aws_ssm', '/cyhy/mongo/users/reporter/user') }}" | ||
# reporter mongo password | ||
reporter_pw: "{{ lookup('aws_ssm', '/cyhy/mongo/users/reporter/password') }}" | ||
orchestrator_reporter_pw: "{{ lookup('aws_ssm', '/cyhy/mongo/users/reporter/password') }}" | ||
# reporter mongo database | ||
reporter_db: "{{ lookup('aws_ssm', '/cyhy/mongo/users/reporter/database') }}" | ||
orchestrator_reporter_db: "{{ lookup('aws_ssm', '/cyhy/mongo/users/reporter/database') }}" | ||
|
||
# scan-reader mongo username | ||
scan_reader_user: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-reader/user') }}" | ||
orchestrator_scan_reader_user: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-reader/user') }}" | ||
# scan-reader mongo password | ||
scan_reader_pw: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-reader/password') }}" | ||
orchestrator_scan_reader_pw: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-reader/password') }}" | ||
# scan-reader mongo database | ||
scan_reader_db: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-reader/database') }}" | ||
orchestrator_scan_reader_db: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-reader/database') }}" | ||
|
||
# scan-writer mongo username | ||
scan_writer_user: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-writer/user') }}" | ||
orchestrator_scan_writer_user: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-writer/user') }}" | ||
# scan-writer mongo password | ||
scan_writer_pw: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-writer/password') }}" | ||
orchestrator_scan_writer_pw: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-writer/password') }}" | ||
# scan-writer mongo database | ||
scan_writer_db: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-writer/database') }}" | ||
orchestrator_scan_writer_db: "{{ lookup('aws_ssm', '/cyhy/mongo/users/scan-writer/database') }}" |
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