summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-01-07 17:36:53 +0100
committerLénaïc Huard <lhuard@amadeus.com>2016-01-07 17:36:53 +0100
commit01f85460ce96905eb8fc6e66b9d800e46df54772 (patch)
tree862545c10cfcee41eabb41c14cd702d727f7e9f3 /playbooks/openstack
parentb733e7fb2c79c6b7423c159681eba28417cdf599 (diff)
downloadopenshift-01f85460ce96905eb8fc6e66b9d800e46df54772.tar.gz
openshift-01f85460ce96905eb8fc6e66b9d800e46df54772.tar.bz2
openshift-01f85460ce96905eb8fc6e66b9d800e46df54772.tar.xz
openshift-01f85460ce96905eb8fc6e66b9d800e46df54772.zip
Fix terminate.yml on OpenStack
Diffstat (limited to 'playbooks/openstack')
-rw-r--r--playbooks/openstack/openshift-cluster/terminate.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/openstack/openshift-cluster/terminate.yml b/playbooks/openstack/openshift-cluster/terminate.yml
index d0abe9fa5..d4ab51fa7 100644
--- a/playbooks/openstack/openshift-cluster/terminate.yml
+++ b/playbooks/openstack/openshift-cluster/terminate.yml
@@ -11,7 +11,7 @@
groups: oo_hosts_to_terminate
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}"
- with_items: (groups['tag_environment_' ~ cluster_env]|default([])) | groups['tag_clusterid_' ~ cluster_id ] | default([])
+ with_items: (groups['tag_environment_' ~ cluster_env]|default([])) | intersect(groups['tag_clusterid_' ~ cluster_id ]|default([]))
- name: Unsubscribe VMs
hosts: oo_hosts_to_terminate