diff options
author | Lénaïc Huard <lhuard@amadeus.com> | 2016-01-07 17:36:53 +0100 |
---|---|---|
committer | Lénaïc Huard <lhuard@amadeus.com> | 2016-01-07 17:36:53 +0100 |
commit | 01f85460ce96905eb8fc6e66b9d800e46df54772 (patch) | |
tree | 862545c10cfcee41eabb41c14cd702d727f7e9f3 /playbooks | |
parent | b733e7fb2c79c6b7423c159681eba28417cdf599 (diff) | |
download | openshift-01f85460ce96905eb8fc6e66b9d800e46df54772.tar.gz openshift-01f85460ce96905eb8fc6e66b9d800e46df54772.tar.bz2 openshift-01f85460ce96905eb8fc6e66b9d800e46df54772.tar.xz openshift-01f85460ce96905eb8fc6e66b9d800e46df54772.zip |
Fix terminate.yml on OpenStack
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/openstack/openshift-cluster/terminate.yml | 2 |
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 |