summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_elasticsearch
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-26 14:39:40 -0400
committerGitHub <noreply@github.com>2017-07-26 14:39:40 -0400
commit0f6cf67c77e5d581843a21e27e39fb36451d9553 (patch)
treeaa33edf7ef6b98d8365ecf3aa11510339769027d /roles/openshift_logging_elasticsearch
parentefb0483474caa577c65d58d9a7d5a152052825ed (diff)
parenta7957171b344a21e7ff788d9917ed026a91793b7 (diff)
downloadopenshift-0f6cf67c77e5d581843a21e27e39fb36451d9553.tar.gz
openshift-0f6cf67c77e5d581843a21e27e39fb36451d9553.tar.bz2
openshift-0f6cf67c77e5d581843a21e27e39fb36451d9553.tar.xz
openshift-0f6cf67c77e5d581843a21e27e39fb36451d9553.zip
Merge pull request #4844 from ewolinetz/bz1463081
Updating how storage type is determined, adding bool filter in opensh…
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: