summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/list.yml
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-14 17:31:36 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-10-14 17:31:36 -0400
commit9570a621b2a04dfa6d67cf7c5a70c9e82f67e620 (patch)
tree48e7a9e19f957aa51181d1c990956825d974fd19 /playbooks/gce/openshift-cluster/list.yml
parentbef26dc9429b3c450c572850544d4e10e3e9ad2c (diff)
downloadopenshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.tar.gz
openshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.tar.bz2
openshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.tar.xz
openshift-9570a621b2a04dfa6d67cf7c5a70c9e82f67e620.zip
Template with_items for upstream ansible-2.2 compat.
Diffstat (limited to 'playbooks/gce/openshift-cluster/list.yml')
-rw-r--r--playbooks/gce/openshift-cluster/list.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/gce/openshift-cluster/list.yml b/playbooks/gce/openshift-cluster/list.yml
index c29cac272..34dcd2496 100644
--- a/playbooks/gce/openshift-cluster/list.yml
+++ b/playbooks/gce/openshift-cluster/list.yml
@@ -16,7 +16,7 @@
groups: oo_list_hosts
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
ansible_become: "{{ deployment_vars[deployment_type].become }}"
- with_items: groups[scratch_group] | default([], true) | difference(['localhost']) | difference(groups.status_terminated | default([], true))
+ with_items: "{{ groups[scratch_group] | default([], true) | difference(['localhost']) | difference(groups.status_terminated | default([], true)) }}"
- name: List Hosts
hosts: oo_list_hosts