diff --git a/inventory/host_vars/proxy07.fedoraproject.org b/inventory/host_vars/proxy07.fedoraproject.org new file mode 100644 index 0000000000..24ae4be9fa --- /dev/null +++ b/inventory/host_vars/proxy07.fedoraproject.org @@ -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 diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index 35825eceb3..9812db1448 100644 --- a/playbooks/groups/proxies.yml +++ b/playbooks/groups/proxies.yml @@ -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 diff --git a/playbooks/include/proxies-certificates.yml b/playbooks/include/proxies-certificates.yml index 1744866c39..a4cf8a83e5 100644 --- a/playbooks/include/proxies-certificates.yml +++ b/playbooks/include/proxies-certificates.yml @@ -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 diff --git a/playbooks/include/proxies-fedora-web.yml b/playbooks/include/proxies-fedora-web.yml index 753930bd4f..45bfb39ce6 100644 --- a/playbooks/include/proxies-fedora-web.yml +++ b/playbooks/include/proxies-fedora-web.yml @@ -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 diff --git a/playbooks/include/proxies-haproxy.yml b/playbooks/include/proxies-haproxy.yml index 6af49ca853..28244bd376 100644 --- a/playbooks/include/proxies-haproxy.yml +++ b/playbooks/include/proxies-haproxy.yml @@ -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 diff --git a/playbooks/include/proxies-miscellaneous.yml b/playbooks/include/proxies-miscellaneous.yml index 1889cb0137..bdc096a5e2 100644 --- a/playbooks/include/proxies-miscellaneous.yml +++ b/playbooks/include/proxies-miscellaneous.yml @@ -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 diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 70488c9fa9..5b057e1aee 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -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 diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index 7c4207b292..de587981ba 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -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 diff --git a/playbooks/include/proxies-rewrites.yml b/playbooks/include/proxies-rewrites.yml index 2a9162f70d..0fea3f824a 100644 --- a/playbooks/include/proxies-rewrites.yml +++ b/playbooks/include/proxies-rewrites.yml @@ -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 diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index a5f88ce857..a7586f9d6b 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -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