summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-cluster
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/byo/openshift-cluster
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/byo/openshift-cluster')
-rw-r--r--playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml2
-rw-r--r--playbooks/byo/openshift-cluster/upgrades/v3_2/upgrade.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml b/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
index 1755203a4..a3ab78ccf 100644
--- a/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
+++ b/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
@@ -10,7 +10,7 @@
- add_host:
name: "{{ item }}"
groups: l_oo_all_hosts
- with_items: g_all_hosts | default([])
+ with_items: "{{ g_all_hosts | default([]) }}"
changed_when: false
- hosts: l_oo_all_hosts
diff --git a/playbooks/byo/openshift-cluster/upgrades/v3_2/upgrade.yml b/playbooks/byo/openshift-cluster/upgrades/v3_2/upgrade.yml
index 5d549eee7..d92761e48 100644
--- a/playbooks/byo/openshift-cluster/upgrades/v3_2/upgrade.yml
+++ b/playbooks/byo/openshift-cluster/upgrades/v3_2/upgrade.yml
@@ -10,7 +10,7 @@
- add_host:
name: "{{ item }}"
groups: l_oo_all_hosts
- with_items: g_all_hosts | default([])
+ with_items: "{{ g_all_hosts | default([]) }}"
- hosts: l_oo_all_hosts
gather_facts: no