2015-05-05 21:11:30 +00:00
|
|
|
---
|
|
|
|
# common items for the releng-* boxes
|
|
|
|
lvm_size: 100000
|
|
|
|
mem_size: 16384
|
|
|
|
num_cpus: 16
|
|
|
|
nm: 255.255.255.0
|
|
|
|
gw: 10.5.125.254
|
|
|
|
dns: 10.5.126.21
|
|
|
|
|
2015-07-21 18:09:21 +00:00
|
|
|
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
|
|
|
|
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
|
2015-05-05 21:11:30 +00:00
|
|
|
|
|
|
|
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 }} console=tty0 console=ttyS0
|
|
|
|
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
|
|
|
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none
|
|
|
|
ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname }}-nfs:eth1:none"
|
|
|
|
--network=bridge=br0,model=virtio --network=bridge=br1,model=virtio
|
|
|
|
--autostart --noautoconsole
|
|
|
|
|
2015-08-18 22:06:25 +00:00
|
|
|
# These are for fedmsg publication from the bodhi backend.
|
|
|
|
# If you change these iptables rules, you also need to changes the endpoints
|
|
|
|
# list in roles/fedmsg/base/templates/endpoints-bodhi.py
|
|
|
|
tcp_ports: [
|
|
|
|
3000, 3001, 3002, 3003, 3004,
|
|
|
|
3005, 3006, 3007, 3008, 3009,
|
2015-08-27 19:46:11 +00:00
|
|
|
3010, 3011, 3012, 3013, 3014,
|
|
|
|
3015, 3016, 3017, 3018, 3019,
|
2015-08-18 22:06:25 +00:00
|
|
|
]
|
|
|
|
|
2015-05-05 21:11:30 +00:00
|
|
|
# With 16 cpus, theres a bunch more kernel threads
|
|
|
|
nrpe_procs_warn: 900
|
|
|
|
nrpe_procs_crit: 1000
|
|
|
|
|
|
|
|
host_group: releng
|
|
|
|
|
|
|
|
# These are consumed by a task in roles/fedmsg/base/main.yml
|
|
|
|
fedmsg_certs:
|
2015-08-18 21:06:48 +00:00
|
|
|
# This first cert is used by the push-tool. releng members run it and it fires
|
|
|
|
# off a simple fedmsg message that the masher (running as fedmsg-hub) is
|
|
|
|
# listening for. It then does all the worker.
|
2015-05-05 21:11:30 +00:00
|
|
|
- service: shell
|
|
|
|
owner: root
|
2015-08-18 21:34:28 +00:00
|
|
|
group: masher
|
2015-08-18 21:06:48 +00:00
|
|
|
can_send:
|
|
|
|
- bodhi.masher.start
|
|
|
|
# These are certs for the masher to publish its own messages as it progresses.
|
2015-05-05 21:11:30 +00:00
|
|
|
- service: bodhi
|
|
|
|
owner: root
|
|
|
|
group: masher
|
2015-06-12 18:39:24 +00:00
|
|
|
can_send:
|
|
|
|
- bodhi.mashtask.complete
|
|
|
|
- bodhi.mashtask.mashing
|
|
|
|
- bodhi.mashtask.start
|
|
|
|
- bodhi.mashtask.sync.done
|
|
|
|
- bodhi.mashtask.sync.wait
|
|
|
|
- bodhi.errata.publish
|
|
|
|
- bodhi.update.eject
|
2015-08-22 03:01:23 +00:00
|
|
|
- bodhi.update.complete.testing
|
|
|
|
- bodhi.update.complete.stable
|
2015-08-20 01:53:30 +00:00
|
|
|
- service: ftpsync
|
|
|
|
owner: root
|
|
|
|
group: ftpsync
|
|
|
|
can_send:
|
2015-06-12 20:40:47 +00:00
|
|
|
- bodhi.updates.epel.sync
|
|
|
|
- bodhi.updates.fedora.sync
|
2015-05-05 21:11:30 +00:00
|
|
|
|
2015-06-10 01:10:35 +00:00
|
|
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
|
2015-08-23 16:30:43 +00:00
|
|
|
|
|
|
|
fas_client_groups: sysadmin-releng
|
2015-08-23 16:31:56 +00:00
|
|
|
sudoers: "{{ private }}/files/sudo/arm-releng-sudoers"
|