Merge "Fixes related to installation on Trusty"

This commit is contained in:
Zuul 2018-10-23 14:46:08 +00:00 committed by Gerrit Code Review
commit 7b87e3b195
14 changed files with 13 additions and 22 deletions

View File

@ -37,7 +37,7 @@
register: elk_indexes
until: elk_indexes is success
retries: 3
delay: 10
delay: 30
with_items:
- name: "osprofiler-notifications"
index_options:
@ -67,7 +67,7 @@
register: check_basicIndexTemplate
until: check_basicIndexTemplate is success
retries: 3
delay: 10
delay: 30
- name: Check for basic index template
uri:
@ -77,7 +77,7 @@
register: delete_basicIndexTemplate
until: delete_basicIndexTemplate is success
retries: 3
delay: 10
delay: 30
when:
- check_basicIndexTemplate.status == 200
@ -91,7 +91,7 @@
register: create_basicIndexTemplate
until: create_basicIndexTemplate is success
retries: 3
delay: 10
delay: 30
vars:
index_option:
index_patterns: >-
@ -117,7 +117,7 @@
register: create_basicIndexTemplate
until: create_basicIndexTemplate is success
retries: 3
delay: 10
delay: 30
vars:
index_option:
template: ".monitoring-*"

View File

@ -38,7 +38,7 @@
register: index_fields_return
until: index_fields_return is success
retries: 6
delay: 10
delay: 30
run_once: true
- name: Get index fields format
@ -54,7 +54,7 @@
register: index_fields_format_return
until: index_fields_format_return is success
retries: 6
delay: 10
delay: 30
run_once: true
- name: Refresh fields block
@ -86,7 +86,7 @@
register: index_fields_return
until: index_fields_return is success
retries: 6
delay: 10
delay: 30
run_once: true
when:
- index_fields_return.status == 200

View File

@ -47,7 +47,7 @@
register: kibana_indexes
until: kibana_indexes is success
retries: 6
delay: 10
delay: 30
run_once: true
- name: Create basic indexes
@ -67,7 +67,7 @@
register: kibana_indexes
until: kibana_indexes is success
retries: 6
delay: 10
delay: 30
run_once: true
tags:

View File

@ -1 +0,0 @@
../../templates/_macros.j2

View File

@ -1 +0,0 @@
../../templates/_macros.j2

View File

@ -1 +0,0 @@
../../templates/_macros.j2

View File

@ -1 +0,0 @@
../../templates/_macros.j2

View File

@ -1 +0,0 @@
../../templates/_macros.j2

View File

@ -23,4 +23,4 @@ kibana_password: admin
kibana_nginx_port: 81
kibana_server_name: "{{ ansible_hostname }}"
kibana_index_on_elasticsearch: "http://{{ hostvars[groups['elastic-logstash'][0]]['ansible_host'] }}:{{ elastic_port}}/.kibana"
kibana_elastic_request_timeout: 600000
kibana_elastic_request_timeout: 1800000

View File

@ -25,7 +25,7 @@
- name: Enable and restart metricbeat (upstart)
service:
name: "elasticsearch"
name: "metricbeat"
state: "{{ metricbeat_service_state }}"
enabled: yes
when:

View File

@ -254,8 +254,6 @@
src: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: "0644"
when:
- ansible_service_mgr == 'systemd'
with_items:
- src: "metricbeat.yml.j2"
dest: "/etc/metricbeat/metricbeat.yml"

View File

@ -1 +0,0 @@
../../templates/_macros.j2

View File

@ -1 +0,0 @@
../../templates/_macros.j2

View File

@ -23,7 +23,7 @@
until:
- elk_data is success and elk_data['json'] is defined
retries: 5
delay: 10
delay: 30
run_once: true
- name: Set retention keys fact