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
|
|
|
|
|
2015-12-10 22:36:13 +00:00
|
|
|
# usually we do not want to enable nested virt, only on some virthosts
|
|
|
|
nested: false
|
|
|
|
|
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
|
|
|
|
|
2015-12-20 01:38:45 +00:00
|
|
|
# Most EL systems need default EPEL repos.
|
|
|
|
# Some systems (notably fed-cloud*) need to get their own
|
|
|
|
# EPEL files because EPEL overrides packages in their core repos.
|
2015-12-20 01:57:27 +00:00
|
|
|
use_default_epel: true
|
2015-12-20 01:38:45 +00:00
|
|
|
|
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: []
|
2015-02-06 21:29:14 +00:00
|
|
|
custom6_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:45:35 +00:00
|
|
|
ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7
|
2014-09-29 20:25:35 +00:00
|
|
|
ks_repo: http://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
|
|
|
|
|
2016-02-02 20:11:24 +00:00
|
|
|
# Default netmask. Almost all our phx2 nets are /24's with the
|
|
|
|
# exception of 10.5.124.128/25. Almost all of our non phx2 sites are
|
|
|
|
# less than a /24.
|
|
|
|
eth0_nm: 255.255.255.0
|
|
|
|
eth1_nm: 255.255.255.0
|
|
|
|
br0_nm: 255.255.255.0
|
|
|
|
br1_nm: 255.255.255.0
|
2016-02-05 20:27:31 +00:00
|
|
|
# Default to managing the network, we want to not do this on select hosts (like cloud nodes)
|
|
|
|
ansible_ifcfg_blacklist: false
|
2016-02-02 17:15:52 +00:00
|
|
|
#
|
|
|
|
# The default virt-install works for rhel7 or fedora with 1 nic
|
|
|
|
#
|
|
|
|
virt_install_command: "{{ virt_install_command_one_nic }}"
|
2014-07-27 22:22:20 +00:00
|
|
|
|
2016-02-02 17:15:52 +00:00
|
|
|
main_bridge: br0
|
|
|
|
nfs_bridge: br1
|
|
|
|
|
|
|
|
virt_install_command_one_nic: virt-install -n {{ inventory_hostname }}
|
2016-02-10 00:42:19 +00:00
|
|
|
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
|
2014-07-27 22:22:20 +00:00
|
|
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
2016-02-10 00:42:19 +00:00
|
|
|
--vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x
|
2016-02-02 17:15:52 +00:00
|
|
|
'net.ifnames=0 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'
|
2016-02-02 17:15:52 +00:00
|
|
|
--network bridge={{ main_bridge }},model=virtio
|
|
|
|
--autostart --noautoconsole --watchdog default
|
|
|
|
|
|
|
|
virt_install_command_two_nic: virt-install -n {{ inventory_hostname }}
|
2016-02-10 00:42:19 +00:00
|
|
|
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
|
2016-02-02 17:15:52 +00:00
|
|
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
2016-02-10 00:42:19 +00:00
|
|
|
--vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x
|
2016-02-02 17:15:52 +00:00
|
|
|
'net.ifnames=0 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
|
|
|
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
|
|
|
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none
|
2016-02-17 19:13:09 +00:00
|
|
|
ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname }}-nfs:eth1:none'
|
2016-02-02 17:15:52 +00:00
|
|
|
--network bridge={{ main_bridge }},model=virtio --network=bridge={{ nfs_bridge }},model=virtio
|
2016-01-18 16:45:51 +00:00
|
|
|
--autostart --noautoconsole --watchdog default
|
2013-06-12 17:01:31 +00:00
|
|
|
|
2016-03-03 19:17:45 +00:00
|
|
|
virt_install_command_rhel6: virt-install -n {{ inventory_hostname }}
|
2016-02-10 00:42:19 +00:00
|
|
|
--memory={{ mem_size }},maxmemory={{ max_mem_size }}
|
2016-02-02 17:28:44 +00:00
|
|
|
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
|
2016-02-10 00:42:19 +00:00
|
|
|
--vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x
|
2016-02-02 17:28:44 +00:00
|
|
|
"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 --watchdog default
|
|
|
|
|
2016-02-10 00:47:04 +00:00
|
|
|
max_mem_size: "{{ mem_size * 5 }}"
|
|
|
|
max_cpu: "{{ num_cpus * 5 }}"
|
2016-02-10 00:42:19 +00:00
|
|
|
|
2014-12-07 23:39:44 +00:00
|
|
|
# This is the wildcard certname for our proxies. It has a different name for
|
|
|
|
# the staging group and is used in the proxies.yml playbook.
|
2014-12-07 23:56:57 +00:00
|
|
|
wildcard_cert_name: wildcard-2014.fedoraproject.org
|
2014-12-07 23:39:44 +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
|
|
|
|
2015-02-12 15:12:58 +00:00
|
|
|
# By default, fedmsg should not log debug info. Groups can override this.
|
|
|
|
fedmsg_loglevel: INFO
|
|
|
|
|
2016-03-01 20:31:57 +00:00
|
|
|
# By default, fedmsg sends error logs to sysadmin-datanommer-members@fp.o.
|
|
|
|
fedmsg_error_recipients:
|
|
|
|
- sysadmin-datanommer-members@fedoraproject.org
|
|
|
|
|
2015-04-28 13:19:38 +00:00
|
|
|
# By default, fedmsg hosts are in passive mode. External hosts are typically
|
|
|
|
# active.
|
|
|
|
fedmsg_active: False
|
|
|
|
|
2015-06-12 16:27:31 +00:00
|
|
|
# Other defaults for fedmsg environments
|
|
|
|
fedmsg_prefix: org.fedoraproject
|
|
|
|
fedmsg_env: prod
|
|
|
|
|
2015-09-30 18:23:41 +00:00
|
|
|
# A special flag that, when set to true, will disconnect the host from the
|
|
|
|
# global fedmsg-relay instance and set it up with its own local one. You can
|
|
|
|
# temporarily set this to true for a specific host to do some debugging -- so
|
|
|
|
# you can *replay real messages from the datagrepper history without having
|
|
|
|
# those broadcast to the rest of the bus*.
|
|
|
|
fedmsg_debug_loopback: False
|
|
|
|
|
2015-06-16 19:21:50 +00:00
|
|
|
# These are used to:
|
|
|
|
# 1) configure mod_wsgi
|
|
|
|
# 2) open iptables rules for fedmsg (per wsgi thread)
|
|
|
|
# 3) declare enough fedmsg endpoints for the service
|
|
|
|
#wsgi_fedmsg_service: bodhi
|
|
|
|
#wsgi_procs: 4
|
|
|
|
#wsgi_threads: 4
|
|
|
|
|
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
|
|
|
|
2014-10-09 20:18:10 +00:00
|
|
|
# by default, the number of emails in queue before we whine
|
|
|
|
nrpe_check_postfix_queue_warn: 2
|
|
|
|
nrpe_check_postfix_queue_crit: 5
|
|
|
|
|
2013-09-25 20:55:47 +00:00
|
|
|
# env is staging or production, we default it to production here.
|
|
|
|
env: production
|
2015-05-04 14:33:43 +00:00
|
|
|
env_suffix:
|
2014-04-24 19:21:59 +00:00
|
|
|
|
|
|
|
# nfs mount options, override at the group/host level
|
2016-05-11 16:12:39 +00:00
|
|
|
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,nfsvers=4"
|
2014-06-14 20:30:13 +00:00
|
|
|
|
2016-02-02 21:24:45 +00:00
|
|
|
# by default set become to false here We can override it as needed.
|
|
|
|
# Note that if become is true, you need to unset requiretty for
|
2014-06-14 20:30:13 +00:00
|
|
|
# ssh controlpersist to work.
|
2016-02-02 21:24:45 +00:00
|
|
|
become: false
|
2014-12-17 20:03:34 +00:00
|
|
|
|
2015-03-17 22:20:17 +00:00
|
|
|
# default the root_auth_users to nothing.
|
|
|
|
# This should be set for cloud instances in their host or group vars.
|
2015-03-17 22:17:46 +00:00
|
|
|
root_auth_users: ''
|
2014-12-17 20:03:34 +00:00
|
|
|
|
|
|
|
# This vars get shoved into /etc/system_identification by the base role.
|
|
|
|
# Groups and individual hosts should override them with specific info.
|
|
|
|
# See http://infrastructure.fedoraproject.org/csi/security-policy/
|
|
|
|
csi_security_category: Unspecified
|
|
|
|
csi_primary_contact: Fedora Admins - admin@fedoraproject.org
|
|
|
|
csi_purpose: Unspecified
|
2014-12-17 20:07:09 +00:00
|
|
|
csi_relationship: |
|
2014-12-17 20:03:34 +00:00
|
|
|
Unspecified.
|
|
|
|
* What hosts/services does this rely on?
|
|
|
|
* What hosts/services rely on this?
|
2014-12-17 20:26:06 +00:00
|
|
|
|
|
|
|
To update this text, add the csi_* vars to group_vars/ in ansible.
|