mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-12 20:22:59 +01:00
[fix] Only show motd ip message on manager node
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
{% set needs_restarting_check = salt['mine.get']('*', 'needs_restarting.check', tgt_type='glob') -%}
|
||||
{% set role = grains.id.split('_') | last -%}
|
||||
{% set url = salt['pillar.get']('manager:url_base') -%}
|
||||
|
||||
|
||||
{% if role in ['eval', 'managersearch', 'manager', 'standalone'] %}
|
||||
Access the Security Onion web interface at https://{{ url }}
|
||||
(You may need to run so-allow first if you haven't yet)
|
||||
{% endif %}
|
||||
|
||||
{%- if needs_restarting_check %}
|
||||
{%- set minions_need_restarted = [] %}
|
||||
|
||||
Reference in New Issue
Block a user