summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorHemant Kumar <hekumar@redhat.com>2017-05-22 11:15:01 -0400
committerHemant Kumar <hekumar@redhat.com>2017-05-22 14:07:44 -0400
commit9e625d4949b1c00644317a04d5ca6dc03eee926c (patch)
treefcc340e4a60cb142e2ca929e503f571b69bc2333 /playbooks/common
parent4cd57c9d9f2ed4838f7dceed36cd48b418b5f2f3 (diff)
downloadopenshift-9e625d4949b1c00644317a04d5ca6dc03eee926c.tar.gz
openshift-9e625d4949b1c00644317a04d5ca6dc03eee926c.tar.bz2
openshift-9e625d4949b1c00644317a04d5ca6dc03eee926c.tar.xz
openshift-9e625d4949b1c00644317a04d5ca6dc03eee926c.zip
Install default storageclass in AWS & GCE envs
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/openshift_hosted.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/openshift_hosted.yml b/playbooks/common/openshift-cluster/openshift_hosted.yml
index 5db71b857..8d94b6509 100644
--- a/playbooks/common/openshift-cluster/openshift_hosted.yml
+++ b/playbooks/common/openshift-cluster/openshift_hosted.yml
@@ -45,6 +45,8 @@
- role: cockpit-ui
when: ( openshift.common.version_gte_3_3_or_1_3 | bool ) and ( openshift_hosted_manage_registry | default(true) | bool ) and not (openshift.docker.hosted_registry_insecure | default(false) | bool)
+ - role: openshift_default_storage_class
+ when: openshift_cloudprovider_kind is defined and (openshift_cloudprovider_kind == 'aws' or openshift_cloudprovider_kind == 'gce')
- name: Update master-config for publicLoggingURL
hosts: oo_masters_to_config:!oo_first_master