70 lines
2.2 KiB
Text
70 lines
2.2 KiB
Text
---
|
|
# common items for the releng-* boxes
|
|
lvm_size: 100000
|
|
mem_size: 4096
|
|
num_cpus: 2
|
|
nm: 255.255.255.0
|
|
gw: 10.5.126.254
|
|
dns: 10.5.126.21
|
|
|
|
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/
|
|
|
|
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 }} netmask={{ nm }} gateway={{ gw }} dns={{ dns }}"
|
|
--network=bridge=br0,model=virtio --network=bridge=br1,model=virtio
|
|
--autostart --noautoconsole
|
|
|
|
# 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,
|
|
3010, 3011, 3012, 3013, 3014,
|
|
3015, 3016, 3017, 3018, 3019,
|
|
]
|
|
|
|
# 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:
|
|
# 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.
|
|
- service: shell
|
|
owner: root
|
|
group: masher
|
|
can_send:
|
|
- bodhi.masher.start
|
|
# These are certs for the masher to publish its own messages as it progresses.
|
|
- service: bodhi
|
|
owner: root
|
|
group: masher
|
|
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
|
|
- bodhi.update.complete.testing
|
|
- bodhi.update.complete.stable
|
|
- service: ftpsync
|
|
owner: root
|
|
group: ftpsync
|
|
can_send:
|
|
- bodhi.updates.epel.sync
|
|
- bodhi.updates.fedora.sync
|
|
|
|
fas_client_groups: sysadmin-releng
|
|
sudoers: "{{ private }}/files/sudo/arm-releng-sudoers"
|