From 29d93de617e65f1482707e25b0d3b84923bdf3ba Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 26 Jan 2015 19:40:53 +0000 Subject: [PATCH] Add proxy04 to ansible setup. --- inventory/host_vars/proxy04.fedoraproject.org | 20 +++++++++++++++++++ playbooks/groups/proxies.yml | 6 +++--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 inventory/host_vars/proxy04.fedoraproject.org diff --git a/inventory/host_vars/proxy04.fedoraproject.org b/inventory/host_vars/proxy04.fedoraproject.org new file mode 100644 index 0000000000..076176bf3e --- /dev/null +++ b/inventory/host_vars/proxy04.fedoraproject.org @@ -0,0 +1,20 @@ +--- +nm: 255.255.255.128 +gw: 152.19.134.129 +dns: 152.2.21.1 + +ks_url: http://209.132.181.6/repo/rhel/ks/kvm-rhel-7 +ks_repo: http://209.132.181.6/repo/rhel/RHEL7-x86_64/ + +vmhost: ibiblio01.fedoraproject.org +volgroup: /dev/vg_server + +eth0_ip: 152.19.134.142 + +# This is consumed by the roles/fedora-web/main role +sponsor: ibiblio +datacenter: ibiblio +postfix_group: vpn + +nrpe_procs_warn: 900 +nrpe_procs_crit: 1000 diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index f1158d8152..f9172028eb 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:proxy03.fedoraproject.org + hosts: proxies-stg:proxy03.fedoraproject.org:proxy04.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:proxy03.fedoraproject.org + hosts: proxies-stg:proxy03.fedoraproject.org:proxy04.fedoraproject.org user: root gather_facts: True @@ -73,7 +73,7 @@ - name: Set up the proxy basics - hosts: proxies-stg:proxy03.fedoraproject.org + hosts: proxies-stg:proxy03.fedoraproject.org:proxy04.fedoraproject.org user: root gather_facts: False