ansible/inventory/group_vars/odcs_backend
Kevin Fenzi 580cd252c5 Inventory group/host variables: Sort yaml
This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 13:27:57 -08:00

46 lines
1.6 KiB
Text

---
csi_primary_contact: Factory 2 factory2-members@fedoraproject.org
csi_purpose: Run the on-demand-compose-service backend scheduler.
csi_relationship: |
There is an odcs backend process running here.
The process is called `odcs-backend`.
This host:
- relies on db01 for its database of activity (what composes have been
requested and what state are they in?)
- Uses pungi to compose repos of content.
- It also *provides* an nfs share used by odcs-frontend01.
# For the MOTD
csi_security_category: Low
# Neeed for rsync from log01 for logs.
custom_rules: ['-A INPUT -p tcp -m tcp -s 10.3.163.39 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT']
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- can_send:
- odcs.compose.state-changed
group: fedmsg
owner: odcs
service: odcs
# These people get told when something goes wrong.
fedmsg_error_recipients:
- ralph@fedoraproject.org
- jkaluza@fedoraproject.org
- cqi@fedoraproject.org
- qwan@fedoraproject.org
fedmsg_hub_auto_restart: False
freezes: true
lvm_size: 200000
mem_size: 4096
nagios_Check_Services:
odcs-celery-backend: true
# NOTE -- read-only mount of /mnt/fedora_koji here.
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
num_cpus: 2
odcs_target_dir_url: https://odcs.fedoraproject.org/composes
tcp_ports: [3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
# These ports all required for gluster
111, 24007, 24008, 24009, 24010, 24011, 49152, 49153, 49154, 49155]
# Also for gluster.
udp_ports: [111]