diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-08-29 09:50:56 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-08-29 09:50:56 -0400 |
commit | f2ff325af2a91f9cade943e861c51c17ee652a92 (patch) | |
tree | 7b311389348c9f91290a59bdedc48dff4ce81034 /roles/openshift_cloud_provider | |
parent | 9ed3fd2942ba247a1569ae5dd5d15cdeb41563d9 (diff) | |
download | openshift-f2ff325af2a91f9cade943e861c51c17ee652a92.tar.gz openshift-f2ff325af2a91f9cade943e861c51c17ee652a92.tar.bz2 openshift-f2ff325af2a91f9cade943e861c51c17ee652a92.tar.xz openshift-f2ff325af2a91f9cade943e861c51c17ee652a92.zip |
Set cloudprovider kind with openshift_facts.
Diffstat (limited to 'roles/openshift_cloud_provider')
-rw-r--r-- | roles/openshift_cloud_provider/tasks/main.yml | 6 |
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" |