mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Change from nodename to host
This commit is contained in:
@@ -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