- ---
- - 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"
- state: directory
- # Any files included here must use include_tasks instead of import_tasks due to
- # the dynamic nature of include_tasks
- - name: include the defined cloud provider files
- include_tasks: "{{ openshift_cloudprovider_kind }}.yml"
|