From 655d61ff6e8f1c3d282028c44461e3b75cbc3ff1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 26 Jan 2015 23:30:44 +0000 Subject: [PATCH] Add blockerbugs01 to prod ansible --- .../host_vars/blockerbugs01.phx2.fedoraproject.org | 13 +++++++++++++ playbooks/groups/blockerbugs.yml | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 inventory/host_vars/blockerbugs01.phx2.fedoraproject.org diff --git a/inventory/host_vars/blockerbugs01.phx2.fedoraproject.org b/inventory/host_vars/blockerbugs01.phx2.fedoraproject.org new file mode 100644 index 0000000000..7f4494ac79 --- /dev/null +++ b/inventory/host_vars/blockerbugs01.phx2.fedoraproject.org @@ -0,0 +1,13 @@ +--- +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-7 +ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/ +volgroup: /dev/vg_guests00 +eth0_ip: 10.5.126.53 +vmhost: virthost15.phx2.fedoraproject.org +datacenter: phx2 + +# This is the master node in stg, so it runs the cron job +master_blockerbugs_node: True diff --git a/playbooks/groups/blockerbugs.yml b/playbooks/groups/blockerbugs.yml index 1daf4914b0..52801a930a 100644 --- a/playbooks/groups/blockerbugs.yml +++ b/playbooks/groups/blockerbugs.yml @@ -1,5 +1,5 @@ - name: make blockerbugs servers - hosts: blockerbugs-stg + hosts: blockerbugs:blockerbugs-stg user: root gather_facts: False @@ -15,7 +15,7 @@ - include: "{{ handlers }}/restart_services.yml" - name: make the box be real - hosts: blockerbugs-stg + hosts: blockerbugs:blockerbugs-stg user: root gather_facts: True