Move proxy07 over to ansible

This commit is contained in:
Kevin Fenzi 2015-02-21 17:08:38 +00:00
parent fdad2cd006
commit a530d866c1
10 changed files with 38 additions and 11 deletions

View file

@ -0,0 +1,27 @@
---
nm: 255.255.255.192
gw: 94.76.206.129
dns: 217.112.87.147
volgroup: /dev/Guests00
eth0_ip: 213.175.193.206
vmhost: bodhost01.fedoraproject.org
datacenter: bodhost
postfix_group: vpn
ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7-ext
ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/
# This is consumed by the roles/fedora-web/main role
sponsor: bodhost
postfix_group: vpn
mem_size: 6144
nrpe_procs_warn: 900
nrpe_procs_crit: 1000
# This is used in the httpd.conf to determine the value for serverlimit and
# maxrequestworkers. On 8gb proxies, 900 seems fine. But on 4gb proxies, this
# should be lowered in the host vars for that proxy.
maxrequestworkers: 600

View file

@ -1,7 +1,7 @@
# create a new proxy server
- name: make new proxy server
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: False
@ -17,7 +17,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True
@ -73,7 +73,7 @@
- name: Set up the proxy basics
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: False

View file

@ -1,5 +1,5 @@
- name: Set up those proxy certificates. Good gravy..
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True

View file

@ -1,5 +1,5 @@
- name: Set up all that fedora-web goodness. What a wonder!
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True

View file

@ -1,5 +1,5 @@
- name: Set up all the haproxy stuff.
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True

View file

@ -1,5 +1,5 @@
- name: Set up all the other proxy stuff -- miscellaneous
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True

View file

@ -1,5 +1,5 @@
- name: Set up those proxy redirects. Wow!
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True

View file

@ -1,5 +1,5 @@
- name: Set up those ProxyPassReverse statements. Somebody get me a cup of coffee..
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True

View file

@ -1,5 +1,5 @@
- name: Set up some domain rewrites.
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True

View file

@ -1,5 +1,5 @@
- name: Set up those proxy websites. My, my..
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org:!proxy07.fedoraproject.org
hosts: proxies-stg:proxies:!proxy02.fedoraproject.org
user: root
gather_facts: True