From 58167dbd1f012183b753cf2a119a3ff512ef9edc Mon Sep 17 00:00:00 2001 From: neonmei Date: Mon, 23 Nov 2020 12:18:56 -0300 Subject: [PATCH] roles/wazuh-agent: add message explaining when auto-enrollment registration path is fired or not --- roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml b/roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml index 8b8d9314..2cf5eacb 100644 --- a/roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml +++ b/roles/wazuh/ansible-wazuh-agent/tasks/Linux.yml @@ -213,6 +213,11 @@ - config - api +- name: Linux | Agent registration via auto-enrollment + debug: + msg: Agent registration will be performed through enrollment option in templated ossec.conf + when: wazuh_agent_config.enrollment.enabled == 'yes' + - name: Linux | Installing agent configuration (ossec.conf) template: src: var-ossec-etc-ossec-agent.conf.j2