summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt
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/libvirt
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/libvirt')
-rw-r--r--playbooks/libvirt/openshift-cluster/list.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/libvirt/openshift-cluster/list.yml b/playbooks/libvirt/openshift-cluster/list.yml
index eb64544db..86d5d0aad 100644
--- a/playbooks/libvirt/openshift-cluster/list.yml
+++ b/playbooks/libvirt/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([]) | difference(['localhost'])
+ with_items: "{{ groups[scratch_group] | default([]) | difference(['localhost']) }}"
- name: List Hosts
hosts: oo_list_hosts