summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-13 10:06:57 -0400
committerScott Dodson <sdodson@redhat.com>2016-09-26 13:58:51 -0400
commitbf0857e95cd063f85a2bbe5c7f2b69ee9b83b460 (patch)
tree77fc21408f072e83c7186b621831654e1902e660 /playbooks/common/openshift-cluster
parent3006f38ed72af416e6b103319c59c9fee28d9e65 (diff)
downloadopenshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.tar.gz
openshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.tar.bz2
openshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.tar.xz
openshift-bf0857e95cd063f85a2bbe5c7f2b69ee9b83b460.zip
Add storage for logging
Diffstat (limited to 'playbooks/common/openshift-cluster')
-rw-r--r--playbooks/common/openshift-cluster/openshift_hosted.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/openshift_hosted.yml b/playbooks/common/openshift-cluster/openshift_hosted.yml
index 15bf232b1..207c51dca 100644
--- a/playbooks/common/openshift-cluster/openshift_hosted.yml
+++ b/playbooks/common/openshift-cluster/openshift_hosted.yml
@@ -57,6 +57,10 @@
openshift_hosted_logging_master_public_url: "{{ logging_master_public_url }}"
openshift_hosted_logging_elasticsearch_cluster_size: "{{ logging_elasticsearch_cluster_size }}"
openshift_hosted_logging_elasticsearch_ops_cluster_size: "{{ logging_elasticsearch_ops_cluster_size }}"
+ openshift_hosted_logging_elasticsearch_pvc_dynamic: "{{ 'true' if openshift.hosted.logging.storage_kind | default(none) == 'dynamic' else 'false' }}"
+ openshift_hosted_logging_elasticsearch_pvc_size: "{{ openshift.hosted.logging.storage.volume.size if openshift.hosted.logging.storage_kind | default(none) == 'dynamic' else '' }}"
+ openshift_hosted_logging_elasticsearch_pvc_prefix: "{{ 'logging-es' if openshift.hosted.logging.storage_kind | default(none) is not none else '' }}"
+
- role: cockpit-ui
when: openshift.common.deployment_subtype == 'registry'