mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Only run portions of ES state, do not run container
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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 #}
|
||||||
|
|||||||
Reference in New Issue
Block a user