summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-05-05 21:29:04 -0400
committerJason DeTiberus <jdetiber@redhat.com>2016-05-05 21:29:04 -0400
commit432b3d970cbf22715b5f9349863ab5a396c64d2f (patch)
treef40653e781e3c928a6f14656450a1bc3bddfffc0 /playbooks/openstack
parent3b0ef37a385f1a8510d1b2bc2b024ee8ea0f510e (diff)
downloadopenshift-432b3d970cbf22715b5f9349863ab5a396c64d2f.tar.gz
openshift-432b3d970cbf22715b5f9349863ab5a396c64d2f.tar.bz2
openshift-432b3d970cbf22715b5f9349863ab5a396c64d2f.tar.xz
openshift-432b3d970cbf22715b5f9349863ab5a396c64d2f.zip
g_all_hosts with templated with_items causes errors with ansible 1.9.4 under some conditions
Diffstat (limited to 'playbooks/openstack')
-rw-r--r--playbooks/openstack/openshift-cluster/config.yml2
-rw-r--r--playbooks/openstack/openshift-cluster/update.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/openstack/openshift-cluster/config.yml b/playbooks/openstack/openshift-cluster/config.yml
index 304a6557d..6e4f414d6 100644
--- a/playbooks/openstack/openshift-cluster/config.yml
+++ b/playbooks/openstack/openshift-cluster/config.yml
@@ -7,7 +7,7 @@
- add_host:
name: "{{ item }}"
groups: l_oo_all_hosts
- with_items: "{{ g_all_hosts }}"
+ with_items: g_all_hosts
- hosts: l_oo_all_hosts
gather_facts: no
diff --git a/playbooks/openstack/openshift-cluster/update.yml b/playbooks/openstack/openshift-cluster/update.yml
index 6f1e7fcc5..6d4d23963 100644
--- a/playbooks/openstack/openshift-cluster/update.yml
+++ b/playbooks/openstack/openshift-cluster/update.yml
@@ -7,7 +7,7 @@
- add_host:
name: "{{ item }}"
groups: l_oo_all_hosts
- with_items: "{{ g_all_hosts }}"
+ with_items: g_all_hosts
- hosts: l_oo_all_hosts
gather_facts: no
@@ -29,7 +29,7 @@
groups: oo_hosts_to_update
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
ansible_become: "{{ deployment_vars[deployment_type].become }}"
- with_items: "{{ g_all_hosts | default([]) }}"
+ with_items: g_all_hosts | default([])
- include: ../../common/openshift-cluster/update_repos_and_packages.yml