diff options
author | Lénaïc Huard <lhuard@amadeus.com> | 2016-08-19 11:21:49 +0200 |
---|---|---|
committer | Lénaïc Huard <lhuard@amadeus.com> | 2016-08-19 11:21:49 +0200 |
commit | 4383fac742a22477ddc69e4aab726a9bec45f53a (patch) | |
tree | 45b5dab49ad6a41a96ff46254cae43e0e7fc39e8 /playbooks/openstack/openshift-cluster/terminate.yml | |
parent | a96a9b713bb15146fa15f2535731c4ac83cc7bd5 (diff) | |
download | openshift-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.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 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 |