From 7eead0cc5bcf32eaf24322a178da427254a904aa Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 7 Mar 2014 21:00:35 +0000 Subject: [PATCH] host_var for installing the tagger cronjob. --- inventory/host_vars/tagger01.phx2.fedoraproject.org | 2 ++ inventory/host_vars/tagger01.stg.phx2.fedoraproject.org | 2 ++ inventory/host_vars/tagger02.phx2.fedoraproject.org | 2 ++ roles/tagger/tasks/main.yml | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/inventory/host_vars/tagger01.phx2.fedoraproject.org b/inventory/host_vars/tagger01.phx2.fedoraproject.org index c74425ecd6..b7cd9526f9 100644 --- a/inventory/host_vars/tagger01.phx2.fedoraproject.org +++ b/inventory/host_vars/tagger01.phx2.fedoraproject.org @@ -6,6 +6,8 @@ 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/ +install_tagger_cron: true + volgroup: /dev/vg_guests01 vmhost: virthost01.phx2.fedoraproject.org eth0_ip: 10.5.126.212 diff --git a/inventory/host_vars/tagger01.stg.phx2.fedoraproject.org b/inventory/host_vars/tagger01.stg.phx2.fedoraproject.org index 4b597974e2..2240953326 100644 --- a/inventory/host_vars/tagger01.stg.phx2.fedoraproject.org +++ b/inventory/host_vars/tagger01.stg.phx2.fedoraproject.org @@ -6,6 +6,8 @@ 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/ +install_tagger_cron: true + volgroup: /dev/vg_virthost11 eth0_ip: 10.5.126.220 vmhost: virthost11.phx2.fedoraproject.org diff --git a/inventory/host_vars/tagger02.phx2.fedoraproject.org b/inventory/host_vars/tagger02.phx2.fedoraproject.org index c4ab3a40fa..a49bfaece2 100644 --- a/inventory/host_vars/tagger02.phx2.fedoraproject.org +++ b/inventory/host_vars/tagger02.phx2.fedoraproject.org @@ -6,6 +6,8 @@ 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/ +install_tagger_cron: false + volgroup: /dev/vg_guests03 vmhost: virthost03.phx2.fedoraproject.org eth0_ip: 10.5.126.214 diff --git a/roles/tagger/tasks/main.yml b/roles/tagger/tasks/main.yml index abcc3e26bf..5bd056ec38 100644 --- a/roles/tagger/tasks/main.yml +++ b/roles/tagger/tasks/main.yml @@ -65,4 +65,4 @@ tags: - cron - config - when: install_cron + when: install_tagger_cron