Merge pull request #14588 from Security-Onion-Solutions/TOoSmOotH-patch-6

enable the delete on heavynodes
This commit is contained in:
Mike Reeves
2025-05-02 08:55:55 -04:00
committed by GitHub

View File

@@ -204,10 +204,10 @@ so-elasticsearch-roles-load:
- docker_container: so-elasticsearch - docker_container: so-elasticsearch
- file: elasticsearch_sbin_jinja - file: elasticsearch_sbin_jinja
{% if grains.role in ['so-managersearch', 'so-heavynode', 'so-manager'] %} {% if grains.role in ['so-managersearch', 'so-manager'] %}
{% set ap = "absent" %} {% set ap = "absent" %}
{% endif %} {% endif %}
{% if grains.role in ['so-eval', 'so-standalone'] %} {% if grains.role in ['so-eval', 'so-standalone', 'so-heavynode'] %}
{% if ELASTICSEARCHMERGED.index_clean %} {% if ELASTICSEARCHMERGED.index_clean %}
{% set ap = "present" %} {% set ap = "present" %}
{% else %} {% else %}