summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-04-26 12:13:44 -0500
committerewolinetz <ewolinet@redhat.com>2017-04-27 10:36:12 -0500
commitbf2f95376ff1eb3a1da9e23cb1c02a1ee90781de (patch)
treeade28723a78cb22ff7235c834a128e3c7f685dca /roles/openshift_logging
parent58db866c0ccfa72a1a20381b3abcae1286d68c9f (diff)
downloadopenshift-bf2f95376ff1eb3a1da9e23cb1c02a1ee90781de.tar.gz
openshift-bf2f95376ff1eb3a1da9e23cb1c02a1ee90781de.tar.bz2
openshift-bf2f95376ff1eb3a1da9e23cb1c02a1ee90781de.tar.xz
openshift-bf2f95376ff1eb3a1da9e23cb1c02a1ee90781de.zip
Adding defaults for es_indices
Diffstat (limited to 'roles/openshift_logging')
-rw-r--r--roles/openshift_logging/tasks/install_elasticsearch.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging/tasks/install_elasticsearch.yaml b/roles/openshift_logging/tasks/install_elasticsearch.yaml
index 667d7d9c4..add2f77cf 100644
--- a/roles/openshift_logging/tasks/install_elasticsearch.yaml
+++ b/roles/openshift_logging/tasks/install_elasticsearch.yaml
@@ -29,7 +29,7 @@
with_together:
- "{{ openshift_logging_facts.elasticsearch.deploymentconfigs.keys() }}"
- "{{ openshift_logging_facts.elasticsearch.deploymentconfigs.values() }}"
- - "{{ es_indices }}"
+ - "{{ es_indices | default([]) }}"
loop_control:
loop_var: deployment
## if it does not then we should create one that does and attach it
@@ -97,7 +97,7 @@
with_together:
- "{{ openshift_logging_facts.elasticsearch_ops.deploymentconfigs.keys() }}"
- "{{ openshift_logging_facts.elasticsearch_ops.deploymentconfigs.values() }}"
- - "{{ es_ops_indices }}"
+ - "{{ es_ops_indices | default([]) }}"
loop_control:
loop_var: deployment
when: