summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cloud_provider
diff options
context:
space:
mode:
authorDavis Phillips <davis.phillips@gmail.com>2017-12-11 09:32:19 -0600
committerDavis Phillips <davis.phillips@gmail.com>2017-12-11 09:32:19 -0600
commit1e3fd54d705b4093ef64429e23b9ad6fecbb8df7 (patch)
treec28837e38449afd2d2d067f69d56c736d7a7ecc1 /roles/openshift_cloud_provider
parente5f1b860fe3b0122f3565d86197c072b9f42184f (diff)
downloadopenshift-1e3fd54d705b4093ef64429e23b9ad6fecbb8df7.tar.gz
openshift-1e3fd54d705b4093ef64429e23b9ad6fecbb8df7.tar.bz2
openshift-1e3fd54d705b4093ef64429e23b9ad6fecbb8df7.tar.xz
openshift-1e3fd54d705b4093ef64429e23b9ad6fecbb8df7.zip
add vsphere cloud providers
Diffstat (limited to 'roles/openshift_cloud_provider')
-rw-r--r--roles/openshift_cloud_provider/tasks/main.yml3
-rw-r--r--roles/openshift_cloud_provider/vars/main.yml1
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_cloud_provider/tasks/main.yml b/roles/openshift_cloud_provider/tasks/main.yml
index dff492a69..3513577fa 100644
--- a/roles/openshift_cloud_provider/tasks/main.yml
+++ b/roles/openshift_cloud_provider/tasks/main.yml
@@ -19,3 +19,6 @@
- include_tasks: gce.yml
when: cloudprovider_is_gce | bool
+
+- include_tasks: vsphere.yml
+ when: cloudprovider_is_vsphere | bool
diff --git a/roles/openshift_cloud_provider/vars/main.yml b/roles/openshift_cloud_provider/vars/main.yml
index c9d953f58..e71db80b9 100644
--- a/roles/openshift_cloud_provider/vars/main.yml
+++ b/roles/openshift_cloud_provider/vars/main.yml
@@ -3,3 +3,4 @@ has_cloudprovider: "{{ openshift_cloudprovider_kind | default(None) != None }}"
cloudprovider_is_aws: "{{ has_cloudprovider | bool and openshift_cloudprovider_kind == 'aws' }}"
cloudprovider_is_openstack: "{{ has_cloudprovider | bool and openshift_cloudprovider_kind == 'openstack' }}"
cloudprovider_is_gce: "{{ has_cloudprovider | bool and openshift_cloudprovider_kind == 'gce' }}"
+cloudprovider_is_vsphere: "{{ has_cloudprovider | bool and openshift_cloudprovider_kind == 'vsphere' }}"