refactoring taskotron dev to be more conformant, work with new roles

This commit is contained in:
Tim Flink 2015-09-30 21:57:21 +00:00
parent f62f1097e9
commit 3f3709c369
4 changed files with 144 additions and 55 deletions

View file

@ -1,25 +1,47 @@
---
############################################################
# networking
############################################################
nm: 255.255.255.0
gw: 10.5.124.254
dns: 10.5.126.21
eth0_ip: 10.5.124.181
############################################################
# install
############################################################
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-22-taskotron-master
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/22/Server/x86_64/os/
volgroup: /dev/vg_guests
eth0_ip: 10.5.124.181
vmhost: virthost-comm04.qa.fedoraproject.org
datacenter: phx2
fas_client_groups: sysadmin-qa,sysadmin-main,fi-apprentice
lvm_size: 45000
# default virt install command is for a single nic-device
# define in another group file for more nics (see buildvm)
virt_install_command: /usr/bin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
############################################################
# virtual machine
############################################################
fas_client_groups: sysadmin-qa,sysadmin-main,fi-apprentice
lvm_size: 45000
mem_size: 4096
num_cpus: 4
nrpe_procs_warn: 250
nrpe_procs_crit: 300
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
"ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }}"
--network=bridge=br0 --autostart --noautoconsole
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
--network=bridge=br0,model=virtio --autostart --noautoconsole
############################################################
# taskotron master
############################################################
public_hostname: taskotron-dev.fedoraproject.org
buildmaster: 10.5.124.181