Merge "Enforce no_proxy when setting up ELK dashboards and rollups"
This commit is contained in:
commit
42f7f896b4
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user