2012-10-08 19:35:54 +00:00
|
|
|
---
|
2013-05-24 15:02:08 +00:00
|
|
|
freezes: true
|
2013-06-03 18:47:05 +00:00
|
|
|
# most of our systems are in phx2
|
|
|
|
datacenter: phx2
|
|
|
|
|
2013-08-23 22:02:20 +00:00
|
|
|
# most of our systems are 64bit.
|
|
|
|
# Used to install various nagios scripts and the like.
|
|
|
|
libdir: /usr/lib64
|
|
|
|
|
2013-05-24 15:02:08 +00:00
|
|
|
# example of ports for default iptables
|
|
|
|
# tcp_ports: [ 22, 80, 443 ]
|
|
|
|
# udp_ports: [ 110, 1024, 2049 ]
|
2013-05-24 15:05:56 +00:00
|
|
|
# multiple lines can be handled as below
|
2013-05-24 15:02:08 +00:00
|
|
|
# custom_rules: [ '-A INPUT -p tcp -m tcp --dport 8888 -j ACCEPT',
|
2013-05-24 15:03:21 +00:00
|
|
|
# '-A INPUT -p tcp -m tcp --dport 8889 -j ACCEPT' ]
|
2013-09-25 19:57:35 +00:00
|
|
|
# We default these to empty
|
|
|
|
udp_ports: []
|
|
|
|
tcp_ports: []
|
2013-09-25 19:58:45 +00:00
|
|
|
custom_rules: []
|
2013-05-24 15:02:08 +00:00
|
|
|
|
2013-06-12 17:01:31 +00:00
|
|
|
# defaults for virt installs
|
2014-09-29 20:11:31 +00:00
|
|
|
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7
|
|
|
|
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL7-x86_64/
|
2013-06-12 17:01:31 +00:00
|
|
|
mem_size: 2048
|
|
|
|
num_cpus: 2
|
|
|
|
lvm_size: 20000
|
|
|
|
|
|
|
|
# default virt install command is for a single nic-device
|
|
|
|
# define in another group file for more nics (see buildvm)
|
2014-06-20 19:46:35 +00:00
|
|
|
#virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
|
|
|
|
# --disk {{ volgroup }}/{{ inventory_hostname }}
|
|
|
|
# --vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
|
|
|
# "ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
|
|
|
|
# gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
|
|
|
|
# hostname={{ inventory_hostname }}"
|
|
|
|
# --network=bridge=br0 --autostart --noautoconsole
|
2014-07-27 22:22:20 +00:00
|
|
|
|
|
|
|
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
|
2014-07-27 22:47:41 +00:00
|
|
|
'ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
2014-07-27 22:22:20 +00:00
|
|
|
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
|
|
|
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none'
|
|
|
|
--network bridge=br0,model=virtio
|
2014-09-29 20:11:31 +00:00
|
|
|
--autostart --noautoconsole --noverifyssl
|
2013-06-12 17:01:31 +00:00
|
|
|
|
2013-06-18 04:10:40 +00:00
|
|
|
# By default, nodes get no fedmsg certs. They need to declare them explicitly.
|
|
|
|
fedmsg_certs: []
|
2013-06-20 20:47:00 +00:00
|
|
|
|
2014-01-10 21:29:20 +00:00
|
|
|
# By default, nodes don't backup any dbs on them unless they declare it.
|
|
|
|
dbs_to_backup: []
|
|
|
|
|
2013-06-20 20:47:00 +00:00
|
|
|
# by default the number of procs we allow before we whine
|
2014-07-04 15:15:25 +00:00
|
|
|
nrpe_procs_warn: 250
|
|
|
|
nrpe_procs_crit: 300
|
2013-09-25 20:55:47 +00:00
|
|
|
|
|
|
|
# env is staging or production, we default it to production here.
|
|
|
|
env: production
|
2014-04-24 19:21:59 +00:00
|
|
|
|
|
|
|
# nfs mount options, override at the group/host level
|
|
|
|
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid"
|
2014-06-14 20:30:13 +00:00
|
|
|
|
|
|
|
# by default set sudo to false here We can override it as needed.
|
|
|
|
# Note that if sudo is true, you need to unset requiretty for
|
|
|
|
# ssh controlpersist to work.
|
|
|
|
sudo: false
|