diff options
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r-- | roles/openshift_hosted/tasks/registry.yml | 1 | ||||
-rw-r--r-- | roles/openshift_hosted/tasks/registry_storage.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/registry.yml b/roles/openshift_hosted/tasks/registry.yml index bc4d81eb7..472009536 100644 --- a/roles/openshift_hosted/tasks/registry.yml +++ b/roles/openshift_hosted/tasks/registry.yml @@ -112,6 +112,7 @@ when: - openshift_hosted_registry_storage_glusterfs_ips|length > 0 - openshift_hosted_registry_storage_kind | default(none) in ['glusterfs'] + - openshift_hosted_registry_storage_class is not defined - name: Create OpenShift registry oc_adm_registry: diff --git a/roles/openshift_hosted/tasks/registry_storage.yml b/roles/openshift_hosted/tasks/registry_storage.yml index aa66a7867..e1b8c4e5e 100644 --- a/roles/openshift_hosted/tasks/registry_storage.yml +++ b/roles/openshift_hosted/tasks/registry_storage.yml @@ -2,3 +2,4 @@ - include_tasks: storage/glusterfs.yml when: - openshift_hosted_registry_storage_kind | default(none) == 'glusterfs' or openshift_hosted_registry_storage_glusterfs_swap + - openshift_hosted_registry_storage_class is not defined |