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_manager_ip: 127.0.0.1
|
||||||
|
wazuh_profile: null
|
||||||
wazuh_manager_proto: udp
|
wazuh_manager_proto: udp
|
||||||
wazuh_authd_port: 1515
|
|
||||||
wazuh_register_client: false
|
wazuh_register_client: false
|
||||||
|
wazuh_notify_time: null
|
||||||
|
wazuh_time_reconnect: null
|
||||||
wazuh_agent_config:
|
wazuh_agent_config:
|
||||||
syscheck:
|
syscheck:
|
||||||
frequency: 43200
|
frequency: 43200
|
||||||
|
|||||||
@ -8,14 +8,14 @@
|
|||||||
<ossec_config>
|
<ossec_config>
|
||||||
<client>
|
<client>
|
||||||
<server-ip>{{ wazuh_manager_ip }}</server-ip>
|
<server-ip>{{ wazuh_manager_ip }}</server-ip>
|
||||||
{% if wazuh_profile is defined %}
|
{% if wazuh_profile is not none %}
|
||||||
<config-profile>{{ wazuh_profile }}</config-profile>
|
<config-profile>{{ wazuh_profile }}</config-profile>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<protocol>{{ wazuh_manager_proto }}</protocol>
|
<protocol>{{ wazuh_manager_proto }}</protocol>
|
||||||
{% if wazuh_manager_port is defined %}
|
{% if wazuh_manager_port is defined %}
|
||||||
<port>{{ wazuh_manager_port }}</port>
|
<port>{{ wazuh_manager_port }}</port>
|
||||||
{% endif %}
|
{% 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>
|
<notify_time>{{ wazuh_notify_time }}</notify_time>
|
||||||
<time-reconnect>{{ wazuh_time_reconnect }}</time-reconnect>
|
<time-reconnect>{{ wazuh_time_reconnect }}</time-reconnect>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user