summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/terminate.yml
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-08-19 11:21:49 +0200
committerLénaïc Huard <lhuard@amadeus.com>2016-08-19 11:21:49 +0200
commit4383fac742a22477ddc69e4aab726a9bec45f53a (patch)
tree45b5dab49ad6a41a96ff46254cae43e0e7fc39e8 /playbooks/openstack/openshift-cluster/terminate.yml
parenta96a9b713bb15146fa15f2535731c4ac83cc7bd5 (diff)
downloadopenshift-4383fac742a22477ddc69e4aab726a9bec45f53a.tar.gz
openshift-4383fac742a22477ddc69e4aab726a9bec45f53a.tar.bz2
openshift-4383fac742a22477ddc69e4aab726a9bec45f53a.tar.xz
openshift-4383fac742a22477ddc69e4aab726a9bec45f53a.zip
Fix warnings in OpenStack provider with ansible 2.1
Some expressions now need to be enclosed inside `{{…}}`.
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