-
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 pull request #649 from ministryofjustice/onr/DSOS-2682/onr-serv…
…er-types add onr files in group_vars
- Loading branch information
Showing
6 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
ansible/group_vars/environment_name_oasys_national_reporting_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 |
---|---|---|
@@ -0,0 +1 @@ | ||
--- |
1 change: 1 addition & 0 deletions
1
ansible/group_vars/environment_name_oasys_national_reporting_preproduction.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 @@ | ||
--- |
1 change: 1 addition & 0 deletions
1
ansible/group_vars/environment_name_oasys_national_reporting_production.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 @@ | ||
--- |
1 change: 1 addition & 0 deletions
1
ansible/group_vars/environment_name_oasys_national_reporting_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 |
---|---|---|
@@ -0,0 +1 @@ | ||
--- |
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,3 @@ | ||
--- | ||
ansible_python_interpreter: /usr/local/bin/python3.6 | ||
# FIXME: this is a rhel 6.9 instance so 'packages' role may not work the same way |
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,81 @@ | ||
--- | ||
ansible_python_interpreter: /usr/bin/python3.9 | ||
|
||
# TODO: Users and Disks roles need checking versus what we're actually deploying | ||
# FIXME: ncr-tomcat role probably needs to be either made 'generic' or we need an onr-tomcat role | ||
|
||
# users_and_groups_system: | ||
# - name: oracle | ||
# group: oinstall | ||
# groups: | ||
# - dba | ||
# - wheel | ||
# - name: bobj | ||
# group: binstall | ||
# groups: | ||
# - dba | ||
# - sapsys | ||
|
||
server_type_roles_list: | ||
# - users-and-groups | ||
- sudoers | ||
- get-ec2-facts | ||
- set-ec2-hostname | ||
- domain-search | ||
- disable-ipv6 | ||
- disable-firewall | ||
- time | ||
- packages | ||
- message-of-the-day | ||
- amazon-ssm-agent | ||
- amazon-cli | ||
- ansible-script | ||
- epel | ||
# - disks | ||
# - ncr-tomcat >> change to onr-tomcat, can't entirely re-use this | ||
- collectd | ||
- amazon-cloudwatch-agent | ||
- amazon-cloudwatch-agent-collectd | ||
- collectd-service-metrics | ||
|
||
roles_list: "{{ (ami_roles_list | default([]) | difference(server_type_roles_list | default([]))) + (server_type_roles_list | default([])) }}" | ||
|
||
packages_yum_install: | ||
- nano | ||
- vim | ||
- make | ||
- libstdc++.i686 | ||
- libstdc++.x86_64 | ||
- glibc.i686 | ||
- glibc.x86_64 | ||
- libX11.i686 | ||
- libX11.x86_64 | ||
- libXext.i686 | ||
- libXext.x86_64 | ||
- expat.i686 | ||
- expat.x86_64 | ||
- libxcrypt.i686 | ||
- libgcc.i686 | ||
- libgcc.x86_64 | ||
- libnsl.i686 | ||
- libXcursor.i686 | ||
- libXcursor.x86_64 | ||
- libXrender.i686 | ||
- libXrender.x86_64 | ||
- libXfixes.i686 | ||
- libXfixes.x86_64 | ||
- libxcb.i686 | ||
- libxcb.x86_64 | ||
- libXau.i686 | ||
- libXau.x86_64 | ||
- xz-libs.i686 | ||
# disks_mount: | ||
# - ebs_device_name: /dev/sdb | ||
# dir: /u01 | ||
# fstype: xfs | ||
# - ebs_device_name: /dev/sdc | ||
# dir: /u02 | ||
# fstype: xfs | ||
# - ebs_device_name: /dev/sds | ||
# dir: swap | ||
# fstype: swap |