summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cloud_provider
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-08-29 14:37:49 -0400
committerGitHub <noreply@github.com>2016-08-29 14:37:49 -0400
commitde7b46011c616dd31b9df07593b7532c643e482a (patch)
treecc2db313caf12064904841e3fc64ec1d46a36ad5 /roles/openshift_cloud_provider
parent732c0aabc2189de6a0e0ef5cecd35118f5eaf76d (diff)
parentf2ff325af2a91f9cade943e861c51c17ee652a92 (diff)
downloadopenshift-de7b46011c616dd31b9df07593b7532c643e482a.tar.gz
openshift-de7b46011c616dd31b9df07593b7532c643e482a.tar.bz2
openshift-de7b46011c616dd31b9df07593b7532c643e482a.tar.xz
openshift-de7b46011c616dd31b9df07593b7532c643e482a.zip
Merge pull request #2374 from abutcher/cloudprovider-kind
Set cloudprovider kind with openshift_facts.
Diffstat (limited to 'roles/openshift_cloud_provider')
-rw-r--r--roles/openshift_cloud_provider/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_cloud_provider/tasks/main.yml b/roles/openshift_cloud_provider/tasks/main.yml
index 46549fc75..e217e37ea 100644
--- a/roles/openshift_cloud_provider/tasks/main.yml
+++ b/roles/openshift_cloud_provider/tasks/main.yml
@@ -1,4 +1,10 @@
---
+- name: Set cloud provider facts
+ openshift_facts:
+ role: cloudprovider
+ local_facts:
+ kind: "{{ openshift_cloudprovider_kind | default(None) }}"
+
- name: Create cloudprovider config dir
file:
path: "{{ openshift.common.config_base }}/cloudprovider"