mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-21 16:33:08 +01:00
update all nodes motd with nodes that need restarted from patch updates - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/112
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
{% if grains.os == "CentOS" %}
|
||||
include:
|
||||
- yum.packages
|
||||
{% endif %}
|
||||
|
||||
patch_os:
|
||||
pkg.uptodate:
|
||||
- name: patch_os
|
||||
- refresh: True
|
||||
|
||||
needs_restarting:
|
||||
module.run:
|
||||
- mine.send:
|
||||
- func: needs_restarting.check
|
||||
|
||||
Reference in New Issue
Block a user