mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-07 23:14:48 +02:00
Change from nodename to host
This commit is contained in:
1 parent
2e91f27336
commit
2f3f04e4ca
1 file changed
+1
-1
@@ -146,7 +146,7 @@ so-logstash:
|
||||
- user: logstash
|
||||
- extra_hosts:
|
||||
{% if grains.role in ['so-heavynode'] %}
|
||||
{% set MANAGER = salt['grains.get']('nodename') %}
|
||||
{% set MANAGER = salt['grains.get']('host') %}
|
||||
{% set MANAGERIP = salt['pillar.get']('sensor:mainip') %}
|
||||
{% else %}
|
||||
- {{ MANAGER }}:{{ MANAGERIP }}
|
||||
|
||||
Reference in new issue
Block a user