summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/terminate.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-19 08:50:05 -0400
committerGitHub <noreply@github.com>2016-08-19 08:50:05 -0400
commit4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3 (patch)
tree5632bdb5a2013bdb15eec43a7186eaecef3e9262 /playbooks/openstack/openshift-cluster/terminate.yml
parenta4f5216e947e36bfd5a01c591fcff5f4b701893c (diff)
parent4383fac742a22477ddc69e4aab726a9bec45f53a (diff)
downloadopenshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.tar.gz
openshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.tar.bz2
openshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.tar.xz
openshift-4ab29f0b2cfd232573e0ff9f9ec84ad7154c98b3.zip
Merge pull request #2327 from lhuard1A/openstack_ansible_2.1
Fix warnings in OpenStack provider with ansible 2.1
Diffstat (limited to 'playbooks/openstack/openshift-cluster/terminate.yml')
-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 5bd8476f1..980ab7337 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_become: "{{ deployment_vars[deployment_type].become }}"
- with_items: (groups['tag_environment_' ~ cluster_env]|default([])) | intersect(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