---
csi_primary_contact: Factory 2 factory2-members@fedoraproject.org
csi_purpose: Run the on-demand-compose-service frontend API.
csi_relationship: |
  The apache/mod_wsgi app is the only thing really running here

  This host:

  - relies on db01 for its database of activity (what composes have been
    requested and what state are they in?)
  - It also mounts an nfs shared provided by odcs-backend01.
  - It provides http access to the compose contents on that nfs share.
# 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: apache
    owner: apache
    service: odcs
freezes: true
lvm_size: 30000
mem_size: 2048
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: [80,
  # These ports all required for gluster
  111, 24007, 24008, 24009, 24010, 24011, 49152, 49153, 49154, 49155]
# Also for gluster.
udp_ports: [111]
virt_install_command: "{{ virt_install_command_two_nic }}"
# There vars are used to configure mod_wsgi
wsgi_procs: 2
wsgi_threads: 2
