[fix] Only run portions of ES state, do not run container

This commit is contained in:
William Wernert
2020-12-16 09:18:40 -05:00
parent a4897d2063
commit af149d04a9
2 changed files with 5 additions and 2 deletions

View File

@@ -84,7 +84,6 @@ container_list() {
TRUSTED_CONTAINERS=( TRUSTED_CONTAINERS=(
"so-filebeat" "so-filebeat"
"so-idstools" "so-idstools"
"so-elasticsearch"
"so-logstash" "so-logstash"
"so-nginx" "so-nginx"
"so-redis" "so-redis"

View File

@@ -86,6 +86,8 @@ capemz:
- user: 939 - user: 939
- group: 939 - group: 939
{% if grains['role'] != 'so-helix' %}
# Add ES Group # Add ES Group
elasticsearchgroup: elasticsearchgroup:
group.present: group.present:
@@ -251,10 +253,12 @@ so-elasticsearch-templates:
- template: jinja - template: jinja
{% endif %} {% endif %}
{% endif %} {# if grains['role'] != 'so-helix' #}
{% else %} {% else %}
elasticsearch_state_not_allowed: elasticsearch_state_not_allowed:
test.fail_without_changes: test.fail_without_changes:
- name: elasticsearch_state_not_allowed - name: elasticsearch_state_not_allowed
{% endif %} {% endif %} {# if 'elasticsearch' in top_states #}