mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-14 02:05:29 +02:00
Have templates applied on the master only
This commit is contained in:
1 parent
2d086b7355
commit
18450815d8
1 file changed
+3
-1
@@ -145,7 +145,9 @@ so-elasticsearch-pipelines:
|
||||
cmd.run:
|
||||
- name: /opt/so/conf/elasticsearch/so-elasticsearch-pipelines {{ esclustername }}
|
||||
|
||||
{% if grains['role'] == 'so-master' or grains['role'] == "so-eval" or grains['role'] == "so-mastersearch" %}
|
||||
so-elasticsearch-templates:
|
||||
cmd.run:
|
||||
- name: /usr/sbin/so-elasticsearch-templates
|
||||
- cwd: /opt/so
|
||||
- cwd: /opt/so
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user