diff --git a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2 b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2
index 450922eb..f2cff4ca 100644
--- a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2
+++ b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-ossec-server.conf.j2
@@ -410,7 +410,7 @@
{{ localfile.location }}
{% if localfile.format == 'eventchannel' %}
{% if localfile.only_future_events is defined %}
- {{ localfile.only_future_events }}
+ {{ localfile.only_future_events }}
{% endif %}
{% if localfile.query is defined %}
{{ localfile.query }}
@@ -448,7 +448,7 @@
{{ localfile.location }}
{% if localfile.format == 'eventchannel' %}
{% if localfile.only_future_events is defined %}
- {{ localfile.only_future_events }}
+ {{ localfile.only_future_events }}
{% endif %}
{% if localfile.query is defined %}
{{ localfile.query }}
@@ -487,7 +487,7 @@
{{ localfile.location }}
{% if localfile.format == 'eventchannel' %}
{% if localfile.only_future_events is defined %}
- {{ localfile.only_future_events }}
+ {{ localfile.only_future_events }}
{% endif %}
{% if localfile.query is defined %}
{{ localfile.query }}
@@ -614,7 +614,7 @@
{% if wazuh_manager_config.authd.force.enabled is not none %}
{{wazuh_manager_config.authd.force.enabled}}
{% else %}
- yes
+ yes
{% endif %}
{% if wazuh_manager_config.authd.force.key_mismatch is not none %}
{{wazuh_manager_config.authd.force.key_mismatch}}