Merge "Enforce no_proxy when setting up ELK dashboards and rollups"

This commit is contained in:
Zuul 2018-09-10 22:15:48 +00:00 committed by Gerrit Code Review
commit 42f7f896b4
7 changed files with 16 additions and 0 deletions

View File

@ -24,6 +24,8 @@
- "--template"
- "--dashboards"
register: templates
environment:
no_proxy: "{{ hostvars[groups['kibana'][0]]['ansible_host'] }}"
until: templates is success
retries: 5
delay: 5

View File

@ -24,6 +24,8 @@
- "--template"
- "--dashboards"
register: templates
environment:
no_proxy: "{{ hostvars[groups['kibana'][0]]['ansible_host'] }}"
until: templates is success
retries: 5
delay: 5

View File

@ -24,6 +24,8 @@
- "--template"
- "--dashboards"
register: templates
environment:
no_proxy: "{{ hostvars[groups['kibana'][0]]['ansible_host'] }}"
until: templates is success
retries: 5
delay: 5

View File

@ -24,6 +24,8 @@
- "--template"
- "--dashboards"
register: templates
environment:
no_proxy: "{{ hostvars[groups['kibana'][0]]['ansible_host'] }}"
until: templates is success
retries: 5
delay: 5

View File

@ -24,6 +24,8 @@
- "--template"
- "--dashboards"
register: templates
environment:
no_proxy: "{{ hostvars[groups['kibana'][0]]['ansible_host'] }}"
until: templates is success
retries: 5
delay: 5

View File

@ -18,6 +18,8 @@
url: "http://{{ coordination_nodes[0] }}/_nodes/{{ (data_nodes | map('extract', hostvars, 'ansible_host') | list) | join(',') }}/stats/fs"
method: GET
register: elk_data
environment:
no_proxy: "{{ coordination_nodes[0].split(':')[0] }}"
until:
- elk_data is success and elk_data['json'] is defined
retries: 5

View File

@ -18,6 +18,8 @@
url: "http://{{ coordination_nodes[0] }}/_xpack/rollup/job/rollup_{{ index_name }}"
method: GET
register: check_rollup
environment:
no_proxy: "{{ coordination_nodes[0].split(':')[0] }}"
until: check_rollup is success
retries: 3
delay: 5
@ -60,6 +62,8 @@
status_code: "{{ item.status_code }}"
body_format: json
register: elk_indexes
environment:
no_proxy: "{{ coordination_nodes[0].split(':')[0] }}"
until: elk_indexes is success
retries: 5
delay: 5