-
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.
Merge branch 'main' of https://github.com/ministryofjustice/modernisa…
- Loading branch information
Showing
435 changed files
with
13,152 additions
and
1,587 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# The below variables are either set automatically from tags via dynamic | ||
# inventory, or passed in to command line via extra_vars parameter when | ||
# running locally. Setting dummy values here to ensure the ansible doesn't | ||
# crash out if they aren't set, e.g. when running AMI builds | ||
ec2_name: "no_name" # the tags.Name on either EC2 or AutoScalingGroup | ||
aws_environment: "no_environment" # development, test, preproduction or production | ||
application: "no_application" # the aws account minus the environment, e.g. nomis |
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
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
32 changes: 32 additions & 0 deletions
32
ansible/group_vars/environment_name_corporate_staff_rostering_test.yml
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,4 +1,36 @@ | ||
--- | ||
ansible_aws_ssm_bucket_name: s3-bucket20230609090941956900000001 | ||
image_builder_s3_bucket_name: csr-software20230609090942172100000002 | ||
db_backup_s3_bucket_name: csr-db-backup-bucket20230822131811925900000001 | ||
dns_zone_internal: corporate-staff-rostering.hmpps-test.modernisation-platform.internal | ||
dns_search_domains: | ||
- hmpps-oem.hmpps-test.modernisation-platform.internal | ||
- azure.noms.root | ||
|
||
# OEM server | ||
OMS_SERVER: test-oem-a.hmpps-oem.hmpps-test.modernisation-platform.internal | ||
OEM_AGENT_VERSION: 13.5.0.0.0 | ||
|
||
# rman details | ||
rman_backup_script: rman_backup.sh | ||
recovery_catalog: 1 | ||
recovery_catalog_server: "{{ OMS_SERVER }}" | ||
rman_backup_cron: | ||
backup_level_0: | ||
- name: rman_backup_weekly | ||
weekday: "5" | ||
minute: "30" | ||
hour: "17" | ||
# job: command generated in rman-backup-setup | ||
backup_level_1: | ||
- name: rman_backup_daily | ||
weekday: "0,1,2,3,4,6" | ||
minute: "30" | ||
hour: "17" | ||
# job: command generated in rman-backup-setup | ||
monitoring: | ||
- name: rman_backup_monitoring | ||
weekday: "*" | ||
minute: "30" | ||
hour: "*" | ||
job: "su oracle -c '/home/oracle/admin/rman_scripts/{{ rman_backup_monitoring_script }}' | logger -p local3.info -t rman-backup" |
97 changes: 96 additions & 1 deletion
97
ansible/group_vars/environment_name_delius_core_development.yml
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,2 +1,97 @@ | ||
--- | ||
null_var: null # not used, we just need something in the file to avoid failure | ||
# From hmpps-env-configs/delius-core-dev/ansible/all.yml | ||
region: eu-west-2 | ||
project_name: delius-core | ||
environment_name: delius-core-dev | ||
simple_environment_name: dev | ||
ndelius_version: "5.8.7" | ||
catalog: DCAT | ||
data_classification: unclassified-data | ||
database_autotasks: | ||
sql_tuning_advisor: disabled | ||
auto_space_advisor: disabled | ||
autotask_windows: | ||
weekday: | ||
start_time: "06:20" | ||
duration_mins: 30 | ||
database_parameters: | ||
sga_max_size: 3280M | ||
sga_target: 3280M | ||
pga_aggregate_target: 1640M | ||
pga_aggregate_limit: 3280M | ||
oracle_osbws_chunk_size: 104857600 | ||
emctl_agent: /u01/app/oracle/oem13c_agent/agent_inst/bin/emctl | ||
# Buckets | ||
db_backup_s3_bucket_name: "{{ simple_environment_name }}-oracle-db-backups" | ||
dependencies_bucket: | ||
name: mod-platform-image-artefact-bucket20230203091453221500000001 | ||
arn: arn:aws:s3:::mod-platform-image-artefact-bucket20230203091453221500000001 | ||
|
||
# From hmpps-env-configs/delius-core-dev/ansible/delius_primarydb.yml | ||
primarydb: | ||
database_global_database: DNDA | ||
database_taf_service: DNDA_TAF | ||
database_primary_unique: DNDA | ||
database_primary_sid: DNDA | ||
delius_users: | ||
dbull_ro: | ||
nmcmahon_ro: | ||
mrees_ro: | ||
ahaslehurst_ro: | ||
bbuchan_ro: | ||
ash_report: true | ||
bbuchan_dba: | ||
rsingh_dba: | ||
dreid_dba: | ||
sgandalwar_dba: | ||
kmoss_dba: | ||
worr_sro: | ||
oracle_software: | ||
version: 19.18 | ||
combo_patch: p34773504_190000_Linux-x86-64.zip | ||
opatch: | ||
version: 12.2.0.1.36 | ||
filename: p6880880_190000_Linux-x86-64.12.2.0.1.36.zip | ||
audited_interaction_repo: TSTNDA | ||
database_locked_statistics: | ||
- schema_name: DELIUS_APP_SCHEMA | ||
table_names: | ||
- DOC_MIGRATION_QUEUE_TAB: ALL | ||
required_patches: | ||
p35012866: | ||
patch_files: | ||
- target_version: "19.18" | ||
filename: p35012866_1918000DBRU_Linux-x86-64.zip | ||
description: "BUG_33527739_APPLY.SQL GOT ORA-13516: AWR OPERATION FAILED: CATPROC NOT VALID" | ||
grid_patch: false | ||
database_patch: true | ||
datapatch_required: true | ||
|
||
# From hmpps-env-configs/delius-core-dev/ansible/delius_standbydb1.yml | ||
standbydb1: | ||
database_standby_unique: DNDAS1 | ||
database_standby_sid: DNDAS1 | ||
required_patches: | ||
p35012866: | ||
patch_files: | ||
- target_version: "19.18" | ||
filename: p35012866_1918000DBRU_Linux-x86-64.zip | ||
description: "BUG_33527739_APPLY.SQL GOT ORA-13516: AWR OPERATION FAILED: CATPROC NOT VALID" | ||
grid_patch: false | ||
database_patch: true | ||
datapatch_required: true | ||
|
||
# From hmpps-env-configs/delius-core-dev/ansible/delius_standbydb2.yml | ||
standbydb2: | ||
database_standby_unique: DNDAS2 | ||
database_standby_sid: DNDAS2 | ||
active_data_guard: true | ||
required_patches: | ||
p35012866: | ||
patch_files: | ||
- target_version: "19.18" | ||
filename: p35012866_1918000DBRU_Linux-x86-64.zip | ||
description: "BUG_33527739_APPLY.SQL GOT ORA-13516: AWR OPERATION FAILED: CATPROC NOT VALID" | ||
grid_patch: false | ||
database_patch: true | ||
datapatch_required: true |
34 changes: 34 additions & 0 deletions
34
ansible/group_vars/environment_name_delius_core_development_dev_all.yml
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
# From hmpps-env-configs/delius-core-dev/ansible/all.yml | ||
region: eu-west-2 | ||
project_name: delius-core | ||
environment_name: delius-core-dev | ||
simple_environment_name: dev | ||
ndelius_version: "5.8.10" | ||
catalog: DCAT | ||
data_classification: unclassified-data | ||
database_autotasks: | ||
sql_tuning_advisor: disabled | ||
auto_space_advisor: disabled | ||
autotask_windows: | ||
weekday: | ||
start_time: "06:20" | ||
duration_mins: 30 | ||
database_parameters: | ||
sga_max_size: 3280M | ||
sga_target: 3280M | ||
pga_aggregate_target: 1640M | ||
pga_aggregate_limit: 3280M | ||
compatible: 19.14.0 | ||
oracle_osbws_chunk_size: 104857600 | ||
emctl_agent: /u01/app/oracle/oem13c_agent/agent_inst/bin/emctl | ||
# Buckets | ||
db_backup_s3_bucket_name: "{{ simple_environment_name }}-oracle-db-backups" | ||
dependencies_bucket: | ||
name: mod-platform-image-artefact-bucket20230203091453221500000001 | ||
arn: arn:aws:s3:::mod-platform-image-artefact-bucket20230203091453221500000001 | ||
# Only used for dupicating databases from source during migration using the oracle-db-duplicate role | ||
# Eventually these will be removed once the RMAN catalog database has been migrated across | ||
catalog_tns: "(DESCRIPTION=(LOAD_BALANCE=OFF)(FAILOVER=ON)(CONNECT_TIMEOUT=10)(RETRY_COUNT=3)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.161.98.92)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=DCAT_TAF)))" | ||
source_db: "DNDA" | ||
s3_source_bucket: "eu-west-2-dlc-dev-oracledb-backups" |
39 changes: 39 additions & 0 deletions
39
ansible/group_vars/environment_name_delius_core_development_dev_delius_primarydb.yml
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
# From hmpps-env-configs/delius-core-dev/ansible/delius_primarydb.yml | ||
database_global_database: DNDA | ||
database_taf_service: DNDA_TAF | ||
database_primary_unique: DNDA | ||
database_primary_sid: DNDA | ||
delius_users: | ||
dbull_ro: | ||
nmcmahon_ro: | ||
mrees_ro: | ||
ahaslehurst_ro: | ||
bbuchan_ro: | ||
ash_report: true | ||
bbuchan_dba: | ||
rsingh_dba: | ||
dreid_dba: | ||
sgandalwar_dba: | ||
kmoss_dba: | ||
worr_sro: | ||
oracle_software: | ||
version: 19.18 | ||
combo_patch: p34773504_190000_Linux-x86-64.zip | ||
opatch: | ||
version: 12.2.0.1.36 | ||
filename: p6880880_190000_Linux-x86-64.12.2.0.1.36.zip | ||
audited_interaction_repo: TSTNDA | ||
database_locked_statistics: | ||
- schema_name: DELIUS_APP_SCHEMA | ||
table_names: | ||
- DOC_MIGRATION_QUEUE_TAB: ALL | ||
required_patches: | ||
p35012866: | ||
patch_files: | ||
- target_version: "19.18" | ||
filename: p35012866_1918000DBRU_Linux-x86-64.zip | ||
description: "BUG_33527739_APPLY.SQL GOT ORA-13516: AWR OPERATION FAILED: CATPROC NOT VALID" | ||
grid_patch: false | ||
database_patch: true | ||
datapatch_required: true |
Oops, something went wrong.