ansible/inventory/host_vars/batcave01.phx2.fedoraproject.org
2015-09-25 18:49:17 +00:00

32 lines
1.2 KiB
Org Mode

---
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/
volgroup: /dev/vg_guests
eth0_ip: 10.5.126.8
eth1_ip: 10.5.127.13
vmhost: virthost22.phx2.fedoraproject.org
datacenter: phx2
# This normally wouldn't be necessary, but when we were setting it up,
# reverse-dns was pointing elsewhere so we had to hardcode this.
fedmsg_fqdn: batcave01.phx2.fedoraproject.org
host_backup_targets: ['/git', '/mnt/fedora/app/attachments']
#
# We need this to install with 2 nics
#
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