Browse Source

Merge pull request #2374 from abutcher/cloudprovider-kind

Set cloudprovider kind with openshift_facts.
Andrew Butcher 8 years ago
parent
commit
de7b46011c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      roles/openshift_cloud_provider/tasks/main.yml

+ 6 - 0
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"