beats: fix potential for indexes to be set up incorrectly
If a deployment is running a mix of versions, running once would only run against a single version, missing out the index setup for other versions of the beats. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-ops/+/843423 Change-Id: Ib6b0e77b96aec33779062a81dbad0931eeaa8806
This commit is contained in:
parent
f2fe9aa59f
commit
27df34985e
@ -58,7 +58,6 @@
|
||||
until: templates is success
|
||||
retries: 5
|
||||
delay: 5
|
||||
run_once: true
|
||||
when:
|
||||
- (((ansible_local['elastic']['setup'][elastic_beat_name + '_loaded_templates'] is undefined) or
|
||||
(not (ansible_local['elastic']['setup'][elastic_beat_name + '_loaded_templates'] | bool))) or
|
||||
|
@ -7,5 +7,4 @@
|
||||
include_tasks: "elastic_ilm_update_policy.yml"
|
||||
environment:
|
||||
no_proxy: "{{ elastic_beat_no_proxy }},127.0.0.1"
|
||||
run_once: True
|
||||
when: (elk_package_state | default('present')) != "latest"
|
||||
|
Loading…
x
Reference in New Issue
Block a user