Add verification for the wazuh directory path.

This commit is contained in:
Jose M 2019-09-09 13:06:42 +02:00
parent a52d5e540c
commit 1ad5763e00

View File

@ -71,6 +71,11 @@
tags: tags:
- config - config
- name: Windows | Check if ossec folder is accessible
win_file:
path: "{{ wazuh_agent_win_path }}"
state: directory
- name: Windows | Installing agent configuration (ossec.conf) - name: Windows | Installing agent configuration (ossec.conf)
win_template: win_template:
src: var-ossec-etc-ossec-agent.conf.j2 src: var-ossec-etc-ossec-agent.conf.j2