From f2ff325af2a91f9cade943e861c51c17ee652a92 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Mon, 29 Aug 2016 09:50:56 -0400 Subject: Set cloudprovider kind with openshift_facts. --- roles/openshift_cloud_provider/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/openshift_cloud_provider') 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" -- cgit v1.2.3