Update windows register task to use new "agent_name" variable

This commit is contained in:
Jose M 2019-11-05 14:44:33 +01:00
parent e531427df0
commit e52a5dba4f

View File

@ -60,6 +60,7 @@
{{ wazuh_agent_win_auth_path }}
-m {{ wazuh_managers.0.address }}
-p {{ wazuh_agent_authd.port }}
{% if wazuh_agent_authd.agent_name is not none %}-A {{ wazuh_agent_authd.agent_name }} {% endif %}
{% if authd_pass is defined %} -P {{ authd_pass }}{% endif %}
register: agent_auth_output
notify: Windows | Restart Wazuh Agent