mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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:
|
cmd.run:
|
||||||
- name: /usr/sbin/wazuh-register-agent
|
- name: /usr/sbin/wazuh-register-agent
|
||||||
- cwd: /
|
- cwd: /
|
||||||
#- stateful: True
|
- unless: ls /opt/so/conf/wazuh/initial_agent_registration.log
|
||||||
|
|
||||||
# Whitelist manager IP
|
# Whitelist manager IP
|
||||||
whitelistmanager:
|
whitelistmanager:
|
||||||
|
|||||||
Reference in New Issue
Block a user