change so-elasticsearch-cluster settings to include heavynode, and only run on managers

This commit is contained in:
m0duspwnens
2023-06-22 13:04:20 -04:00
parent 36272efda7
commit 6c4c815683
2 changed files with 15 additions and 8 deletions

View File

@@ -145,6 +145,7 @@ es_template_{{TEMPLATE.split('.')[0] | replace("/","_") }}:
{% endfor %}
{% endif %}
{% if GLOBALS.role in GLOBALS.manager_roles %}
so-es-cluster-settings:
cmd.run:
- name: /usr/sbin/so-elasticsearch-cluster-settings
@@ -153,6 +154,7 @@ so-es-cluster-settings:
- require:
- docker_container: so-elasticsearch
- file: elasticsearch_sbin_jinja
{% endif %}
so-elasticsearch-ilm-policy-load:
cmd.run: