ansible/inventory/group_vars/mailman-stg

50 lines
1.5 KiB
Text

---
# common items for the releng-* boxes
lvm_size: 250000
mem_size: 4096
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [
25, 80, 443,
# For outbound fedmsg
3000, 3001, 3002, 3003,
]
fas_client_groups: sysadmin-tools,sysadmin-main
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
can_send:
- logger.log
- service: mailman
owner: mailman
group: mailman
can_send:
- mailman.receive
# default virt install command is for a single nic-device
# define in another group file for more nics (see buildvm)
virt_install_command: virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
"ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }}"
--network=bridge=br0 --autostart --noautoconsole
# Postfix main.cf
postfix_group: mailman-stg
# Used by the mailman role
mailman_db_server: db01.stg.phx2.fedoraproject.org
mailman_domains:
- lists.stg.fedoraproject.org
- lists.fedorahosted.org
# by default, the number of emails in queue before we whine
nrpe_check_postfix_queue_warn: 20
nrpe_check_postfix_queue_crit: 50