summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2017-03-22 16:02:34 +0000
committerKevin Fenzi <kevin@scrye.com>2017-03-22 16:02:34 +0000
commitfaab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4 (patch)
tree1a9e3578fda7d21804df795320358b362cc5f5de
parent8a133c12f599a5d69a270e4e29039c9becd13cce (diff)
downloadansible-faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4.tar.gz
ansible-faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4.tar.xz
ansible-faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4.zip
restrict iscsi to just bvirthost and buildvmhost
-rw-r--r--playbooks/groups/virthost.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/groups/virthost.yml b/playbooks/groups/virthost.yml
index e3d673fbb..e53d54046 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