Setup a new batcave01 that will someday soon replace lockbox01
This commit is contained in:
parent
a905744d1f
commit
2dd0c917a3
4 changed files with 41 additions and 0 deletions
11
inventory/group_vars/batcave
Normal file
11
inventory/group_vars/batcave
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
lvm_size: 500000
|
||||
mem_size: 24576
|
||||
num_cpus: 10
|
||||
|
||||
tcp_ports: [ 80, 443 ]
|
||||
|
||||
# Neeed for rsync from log01 for logs.
|
||||
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
|
||||
|
||||
fas_client_groups: sysadmin-ask,sysadmin-build,sysadmin-cvs,sysadmin-main,sysadmin-web,sysadmin-noc,sysadmin-hosted,sysadmin-releng,sysadmin-qa,sysadmin-tools,sysadmin-cloud,sysadmin-bot,sysadmin-centos,sysadmin-koschei,fi-apprentice
|
26
inventory/host_vars/batcave01.phx2.fedoraproject.org
Normal file
26
inventory/host_vars/batcave01.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
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
|
||||
|
||||
#
|
||||
# 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
|
|
@ -344,6 +344,10 @@ log01.phx2.fedoraproject.org
|
|||
noc01.phx2.fedoraproject.org
|
||||
noc02.fedoraproject.org
|
||||
data-analysis01.phx2.fedoraproject.org
|
||||
batcave01.phx2.fedoraproject.org
|
||||
|
||||
[batcave]
|
||||
batcave01.phx2.fedoraproject.org
|
||||
|
||||
[ipsilon]
|
||||
ipsilon01.phx2.fedoraproject.org
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue