commit 50bd3a3549a56b75275283ad922086a79b368040
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Oct 7 18:15:29 2016 +0200
Add fas01.online host
group_vars/fas | 47 ++++++++++++++++++++++++++++++++++
host_vars/fas01.online.rpmfusion.net | 12 ++++++++
inventory/inventory | 3 ++
playbooks/groups/fas.yml | 4 +-
4 files changed, 64 insertions(+), 2 deletions(-)
---
diff --git a/group_vars/fas b/group_vars/fas
new file mode 100644
index 0000000..cb3a348
--- /dev/null
+++ b/group_vars/fas
@@ -0,0 +1,47 @@
+---
+# Define resources for this group of hosts here.
+lvm_size: 30000
+mem_size: 1024
+num_cpus: 1
+
+virt_install_command: "{{ virt_install_command_rhel6 }}"
+
+# for systems that do not match the above - specify the same parameter in
+# the host_vars/$hostname file
+
+wsgi_fedmsg_service: fas
+wsgi_procs: 40
+wsgi_threads: 1
+
+tcp_ports: [ 80, 873, 8443, 8444 ]
+
+fas_client_groups: sysadmin-main,sysadmin-accounts
+
+master_fas_node: True
+gen_cert: False
+
+# A host group for rsync config
+rsync_group: fas
+
+nrpe_procs_warn: 300
+nrpe_procs_crit: 500
+
+# These are consumed by a task in roles/fedmsg/base/main.yml
+fedmsg_certs:
+- service: shell
+ owner: root
+ group: sysadmin
+ can_send:
+ - logger.log
+- service: fas
+ owner: root
+ group: fas
+ can_send:
+ - fas.group.create
+ - fas.group.member.apply
+ - fas.group.member.remove
+ - fas.group.member.sponsor
+ - fas.group.update
+ - fas.role.update
+ - fas.user.create
+ - fas.user.update
diff --git
a/host_vars/fas01.online.rpmfusion.net b/host_vars/fas01.online.rpmfusion.net
new file mode 100644
index 0000000..6956353
--- /dev/null
+++
b/host_vars/fas01.online.rpmfusion.net
@@ -0,0 +1,12 @@
+nm: 255.255.255.0
+gw: 192.168.181.254
+dns: 62.210.16.6
+ks_url:
http://192.168.181.254/install/ks/fas01.ks
+volgroup: /dev/vg_hv03_virt
+eth0_ip: 192.168.181.172
+vmhost:
hv01.online.rpmfusion.net
+datacenter: online
+
+nrpe_procs_warn: 900
+nrpe_procs_crit: 1000
+
diff --git a/inventory/inventory b/inventory/inventory
index 8e94d21..2eab70a 100644
--- a/inventory/inventory
+++ b/inventory/inventory
@@ -10,6 +10,9 @@
bugzilla02.online.rpmfusion.net
[dbserver]
db02.online.rpmfusion.net
+[fas]
+fas01.online.rpmfusion.net
+
[ipsilon]
ipsilon01.online.rpmfusion.net
diff --git a/playbooks/groups/fas.yml b/playbooks/groups/fas.yml
index bff9deb..790b53f 100644
--- a/playbooks/groups/fas.yml
+++ b/playbooks/groups/fas.yml
@@ -25,8 +25,8 @@
- fas_server
- fedmsg/base
- sudo
- - yubikey
- - totpcgi
+# - yubikey
+# - totpcgi
- { role: openvpn/client, when: env != "staging" }
tasks: