From faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 22 Mar 2017 16:02:34 +0000 Subject: [PATCH] restrict iscsi to just bvirthost and buildvmhost --- playbooks/groups/virthost.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/groups/virthost.yml b/playbooks/groups/virthost.yml index e3d673fbb8..e53d54046b 100644 --- a/playbooks/groups/virthost.yml +++ b/playbooks/groups/virthost.yml @@ -22,7 +22,7 @@ - hosts - fas_client - collectd/base - - { role: iscsi_client, when: datacenter == "phx2" } + - { role: iscsi_client, when: inventory_hostname.startswith(('bvirthost','buildvmhost')) } - sudo - { role: openvpn/client, when: datacenter != "phx2" } - virthost