summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_elasticsearch
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-07-24 11:04:02 -0500
committerewolinetz <ewolinet@redhat.com>2017-07-24 11:04:02 -0500
commita7957171b344a21e7ff788d9917ed026a91793b7 (patch)
treecefaf0f244f0cfb5c973e63f422d1122c7e8754e /roles/openshift_logging_elasticsearch
parent87689f890bb6d015f6c07e227174dc7c4172766e (diff)
downloadopenshift-a7957171b344a21e7ff788d9917ed026a91793b7.tar.gz
openshift-a7957171b344a21e7ff788d9917ed026a91793b7.tar.bz2
openshift-a7957171b344a21e7ff788d9917ed026a91793b7.tar.xz
openshift-a7957171b344a21e7ff788d9917ed026a91793b7.zip
Updating how storage type is determined, adding bool filter in openshift_logging_elasticsearch
Diffstat (limited to 'roles/openshift_logging_elasticsearch')
-rw-r--r--roles/openshift_logging_elasticsearch/tasks/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging_elasticsearch/tasks/main.yaml b/roles/openshift_logging_elasticsearch/tasks/main.yaml
index 68726aa78..532f4a85d 100644
--- a/roles/openshift_logging_elasticsearch/tasks/main.yaml
+++ b/roles/openshift_logging_elasticsearch/tasks/main.yaml
@@ -206,7 +206,7 @@
storage_class_name: "{{ openshift_logging_elasticsearch_pvc_storage_class_name | default('', true) }}"
when:
- openshift_logging_elasticsearch_storage_type == "pvc"
- - not openshift_logging_elasticsearch_pvc_dynamic
+ - not openshift_logging_elasticsearch_pvc_dynamic | bool
# Storageclasses are used by default if configured
- name: Creating ES storage template - dynamic
@@ -220,7 +220,7 @@
pv_selector: "{{ openshift_logging_elasticsearch_pvc_pv_selector }}"
when:
- openshift_logging_elasticsearch_storage_type == "pvc"
- - openshift_logging_elasticsearch_pvc_dynamic
+ - openshift_logging_elasticsearch_pvc_dynamic | bool
- name: Set ES storage
oc_obj: