Add variables for visibility (wazuh-agent role).
This commit is contained in:
parent
fe2f1d94eb
commit
0f388781ba
@ -1,8 +1,10 @@
|
||||
---
|
||||
wazuh_manager_ip: 127.0.0.1
|
||||
wazuh_profile: null
|
||||
wazuh_manager_proto: udp
|
||||
wazuh_authd_port: 1515
|
||||
wazuh_register_client: false
|
||||
wazuh_notify_time: null
|
||||
wazuh_time_reconnect: null
|
||||
wazuh_agent_config:
|
||||
syscheck:
|
||||
frequency: 43200
|
||||
|
||||
@ -8,14 +8,14 @@
|
||||
<ossec_config>
|
||||
<client>
|
||||
<server-ip>{{ wazuh_manager_ip }}</server-ip>
|
||||
{% if wazuh_profile is defined %}
|
||||
{% if wazuh_profile is not none %}
|
||||
<config-profile>{{ wazuh_profile }}</config-profile>
|
||||
{% endif %}
|
||||
<protocol>{{ wazuh_manager_proto }}</protocol>
|
||||
{% if wazuh_manager_port is defined %}
|
||||
<port>{{ wazuh_manager_port }}</port>
|
||||
{% endif %}
|
||||
{% if wazuh_notify_time is defined and wazuh_time_reconnect is defined %}
|
||||
{% if wazuh_notify_time is not none and wazuh_time_reconnect is not none %}
|
||||
<notify_time>{{ wazuh_notify_time }}</notify_time>
|
||||
<time-reconnect>{{ wazuh_time_reconnect }}</time-reconnect>
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user