diff options
author | Kevin Fenzi <kevin@scrye.com> | 2017-03-22 16:02:34 +0000 |
---|---|---|
committer | Kevin Fenzi <kevin@scrye.com> | 2017-03-22 16:02:34 +0000 |
commit | faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4 (patch) | |
tree | 1a9e3578fda7d21804df795320358b362cc5f5de | |
parent | 8a133c12f599a5d69a270e4e29039c9becd13cce (diff) | |
download | ansible-faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4.tar.gz ansible-faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4.tar.xz ansible-faab9e5fb7e8ba3bb150fe78eb94c13a1ad39bd4.zip |
restrict iscsi to just bvirthost and buildvmhost
-rw-r--r-- | playbooks/groups/virthost.yml | 2 |
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 |