Start standing up github2fedmsg01.

This commit is contained in:
Ralph Bean 2014-06-18 15:26:18 +00:00
parent 851fa2f1d8
commit 094b960519
3 changed files with 42 additions and 3 deletions

View file

@ -0,0 +1,27 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 2048
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 80, 443,
# These 16 ports are used by fedmsg. One for each wsgi thread.
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015]
# Neeed for rsync from log02 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.29 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.56 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: github2fedmsg
owner: root
group: apache

View file

@ -0,0 +1,12 @@
---
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-6
ks_repo: http://10.5.126.23/repo/rhel/RHEL6-x86_64/
volgroup: /dev/vg_guests00
vmhost: virthost14.phx2.fedoraproject.org
datacenter: phx2
eth0_ip: 10.5.126.195

View file

@ -4,7 +4,7 @@
# NOTE: most of these vars_path come from group_vars/github2fedmsg* or from hostvars
- name: make github2fedmsg server
hosts: github2fedmsg-stg # github2fedmsg
hosts: github2fedmsg;github2fedmsg-stg
user: root
gather_facts: False
@ -21,7 +21,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real
hosts: github2fedmsg-stg # github2fedmsg
hosts: github2fedmsg;github2fedmsg-stg
user: root
gather_facts: True
accelerate: "{{ accelerated }}"
@ -55,7 +55,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: deploy service-specific config
hosts: github2fedmsg-stg # github2fedmsg
hosts: github2fedmsg;github2fedmsg-stg
user: root
gather_facts: True
accelerate: "{{ accelerated }}"