initial ansible config for openqa, openqa-stg, openqa workers
This commit is contained in:
parent
5bd2413fa3
commit
6bce843a11
10 changed files with 201 additions and 5 deletions
40
inventory/host_vars/openqa-stg01.qa.fedoraproject.org
Normal file
40
inventory/host_vars/openqa-stg01.qa.fedoraproject.org
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
############################################################
|
||||
# networking
|
||||
############################################################
|
||||
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.131.254
|
||||
dns: 10.5.126.21
|
||||
eth0_ip: 10.5.131.72
|
||||
|
||||
############################################################
|
||||
# install
|
||||
############################################################
|
||||
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-23
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/23/Server/x86_64/os/
|
||||
volgroup: /dev/VirtGuests
|
||||
vmhost: virthost-comm03.qa.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
############################################################
|
||||
# virtual machine
|
||||
############################################################
|
||||
|
||||
fas_client_groups: sysadmin-qa,sysadmin-main,fi-apprentice
|
||||
|
||||
lvm_size: 30720
|
||||
mem_size: 4096
|
||||
num_cpus: 4
|
||||
|
||||
nrpe_procs_warn: 250
|
||||
nrpe_procs_crit: 300
|
||||
|
||||
virt_install_command: /usr/bin/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"
|
||||
--network=bridge=br0,model=virtio --autostart --noautoconsole
|
Loading…
Add table
Add a link
Reference in a new issue