Add variables for visibility (wazuh-agent role).

This commit is contained in:
Miguelangel Freitas 2017-08-20 21:21:29 -04:00
parent fe2f1d94eb
commit 0f388781ba
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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 %}