--- - 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 when: has_cloudprovider | bool - include_tasks: openstack.yml when: cloudprovider_is_openstack | bool - include_tasks: aws.yml when: cloudprovider_is_aws | bool - include_tasks: gce.yml when: cloudprovider_is_gce | bool - include_tasks: vsphere.yml when: cloudprovider_is_vsphere | bool