summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cloud_provider/tasks/openstack.yml
blob: a56f1891a3bd1bb8179f9c62d32d6dedbdcc9abc (plain)
1
2
3
4
5
6
7
8
9
- fail:
    msg: "The Openstack integration requires OpenShift Enterprise 3.2 or Origin 1.2."
  when: not openshift.common.version_gte_3_2_or_1_2 | bool

- name: Create /etc/cloud.conf
  template:
    dest: /etc/cloud.conf
    src: openstack/cloud.conf.j2
  when: ocp_os_auth_url and ocp_os_username and ocp_os_password and (ocp_os_tenant_id or ocp_os_tenant_name)