1aac65de0c
mainly jinja spacing and jinja[invalid] related Change-Id: I6f52f2b0c1ef76de626657d79486d31e0f47f384
64 lines
2.4 KiB
YAML
64 lines
2.4 KiB
YAML
---
|
|
kibana_services:
|
|
kibana:
|
|
container_name: "kibana"
|
|
image: "{{ kibana_image_full }}"
|
|
enabled: true
|
|
group: "kibana"
|
|
volumes: "{{ kibana_default_volumes + kibana_extra_volumes }}"
|
|
dimensions: "{{ kibana_dimensions }}"
|
|
healthcheck: "{{ kibana_healthcheck }}"
|
|
haproxy:
|
|
kibana:
|
|
enabled: "{{ enable_kibana }}"
|
|
mode: "http"
|
|
external: false
|
|
port: "{{ kibana_server_port }}"
|
|
auth_user: "{{ kibana_user }}"
|
|
auth_pass: "{{ kibana_password }}"
|
|
kibana_external:
|
|
enabled: "{{ enable_kibana_external | bool }}"
|
|
mode: "http"
|
|
external: true
|
|
port: "{{ kibana_server_port }}"
|
|
auth_user: "{{ kibana_user }}"
|
|
auth_pass: "{{ kibana_password }}"
|
|
|
|
|
|
####################
|
|
# Kibana
|
|
####################
|
|
kibana_default_app_id: "discover"
|
|
kibana_elasticsearch_request_timeout: 300000
|
|
kibana_elasticsearch_shard_timeout: 0
|
|
kibana_elasticsearch_ssl_verify: true
|
|
|
|
|
|
####################
|
|
# Docker
|
|
####################
|
|
kibana_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/kibana"
|
|
kibana_tag: "{{ openstack_tag }}"
|
|
kibana_image_full: "{{ kibana_image }}:{{ kibana_tag }}"
|
|
kibana_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
kibana_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|
kibana_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
|
kibana_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
|
kibana_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
|
kibana_healthcheck_test: ["CMD-SHELL", "healthcheck_curl http://{{ api_interface_address | put_address_in_context('url') }}:{{ kibana_server_port }}"]
|
|
kibana_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
|
kibana_healthcheck:
|
|
interval: "{{ kibana_healthcheck_interval }}"
|
|
retries: "{{ kibana_healthcheck_retries }}"
|
|
start_period: "{{ kibana_healthcheck_start_period }}"
|
|
test: "{% if kibana_enable_healthchecks | bool %}{{ kibana_healthcheck_test }}{% else %}NONE{% endif %}"
|
|
timeout: "{{ kibana_healthcheck_timeout }}"
|
|
|
|
kibana_default_volumes:
|
|
- "{{ node_config_directory }}/kibana/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
kibana_extra_volumes: "{{ default_extra_volumes }}"
|