summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cloud_provider
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-04-08 16:14:49 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-04-08 16:14:49 -0400
commit8591af8679e13374d9f13d8867679adee45a7d0d (patch)
tree34c8f83832193f407a26a5e194977a623a1a6d26 /roles/openshift_cloud_provider
parentba4debd2aa9c808cd982030d3589443e87bb900e (diff)
downloadopenshift-8591af8679e13374d9f13d8867679adee45a7d0d.tar.gz
openshift-8591af8679e13374d9f13d8867679adee45a7d0d.tar.bz2
openshift-8591af8679e13374d9f13d8867679adee45a7d0d.tar.xz
openshift-8591af8679e13374d9f13d8867679adee45a7d0d.zip
Merge openshift_env hostvars.
Diffstat (limited to 'roles/openshift_cloud_provider')
-rw-r--r--roles/openshift_cloud_provider/tasks/main.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/roles/openshift_cloud_provider/tasks/main.yml b/roles/openshift_cloud_provider/tasks/main.yml
index 471fd686b..d7442924f 100644
--- a/roles/openshift_cloud_provider/tasks/main.yml
+++ b/roles/openshift_cloud_provider/tasks/main.yml
@@ -2,14 +2,12 @@
- name: Set cloud provider facts
openshift_facts:
role: cloudprovider
- openshift_env: "{{ item | oo_openshift_env }}"
+ openshift_env: "{{ hostvars[inventory_hostname]
+ | oo_merge_dicts(hostvars)
+ | oo_openshift_env }}"
openshift_env_structures:
- 'openshift.cloudprovider.aws.*'
- 'openshift.cloudprovider.openstack.*'
- no_log: true
- with_items:
- - "{{ hostvars[inventory_hostname] }}"
- - "{{ hostvars }}"
- name: Create cloudprovider config dir
file: