mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #6796 from Security-Onion-Solutions/fix/wazuh_register_agent
dont try to register if state file exists
This commit is contained in:
@@ -127,7 +127,7 @@ registertheagent:
|
||||
cmd.run:
|
||||
- name: /usr/sbin/wazuh-register-agent
|
||||
- cwd: /
|
||||
#- stateful: True
|
||||
- unless: ls /opt/so/conf/wazuh/initial_agent_registration.log
|
||||
|
||||
# Whitelist manager IP
|
||||
whitelistmanager:
|
||||
|
||||
Reference in New Issue
Block a user