Skip to content

Commit

Permalink
nomis: DSOS-2667: add nomis_build server type (#635)
Browse files Browse the repository at this point in the history
* add nomis_build server type

* Commit changes made by code formatters

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
drobinson-moj and github-actions[bot] authored Mar 21, 2024
1 parent 86cbb74 commit c24f3fa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions ansible/group_vars/server_type_nomis_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
ansible_python_interpreter: /usr/local/bin/python3.9

disks_mount:
- ebs_device_name: /dev/sdb
dir: /u01
fstype: xfs
- ebs_device_name: /dev/sdc
dir: /u02
fstype: xfs

server_type_roles_list:
- sudoers
- selinux-config
- users-and-groups
- set-ec2-hostname
- domain-search
- ansible-script
- azcopy
- disable-firewall
- epel
- disks
- collectd
- amazon-cloudwatch-agent
- amazon-cloudwatch-agent-collectd
- collectd-service-metrics

collectd_monitored_services_servertype:
- metric_name: service_status_os
metric_dimension: chronyd
shell_cmd: "systemctl is-active chronyd"

roles_list: "{{ (ami_roles_list | default([]) | difference(server_type_roles_list | default([]))) + (server_type_roles_list | default([])) }}"

0 comments on commit c24f3fa

Please sign in to comment.