Merge "Omit dahsboard on elk setup by default"

This commit is contained in:
Zuul 2019-02-04 06:02:11 +00:00 committed by Gerrit Code Review
commit 38f817aee7
3 changed files with 13 additions and 1 deletions

View File

@ -88,6 +88,14 @@
retries: 6
delay: 30
run_once: true
rescue:
- name: Notify deployer
debug:
msg: >-
Index pattern refresh was not possible at this time. Either there are no dashboards
loaded or the index being refreshed does not exist. While the task failed, this is
not a fatal error, so the play has been rescued.
run_once: true
when:
- index_fields_return.status == 200
- index_fields_format_return.status == 200

View File

@ -18,7 +18,7 @@ elastic_setup_flags:
- "--template"
- "--pipelines"
- "--machine-learning"
- "--dashboards"
# - "--dashboards"
# Setup options are cast as a string with, one option per line.
elastic_beat_setup_options: >-

View File

@ -111,6 +111,10 @@ all_systems:
vars:
elastic_skydive_retention: 2 # Elastic retention set to 2 days max
elastic_skydive_size: 51200 # Elastic retention set to 50GiB max
elastic_setup_flags:
- "--template"
- "--pipelines"
- "--machine-learning"
children:
elastic-logstash_all:
children: