Using version and revision fields on Windows agent role.

This commit is contained in:
Miguelangel Freitas 2017-08-29 12:54:04 -05:00
parent 3ec7f354f4
commit cab4302c4e
2 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,8 @@ wazuh_time_reconnect: null
wazuh_winagent_config: wazuh_winagent_config:
install_dir: 'C:\wazuh-agent\' install_dir: 'C:\wazuh-agent\'
version: '2.1.0' version: '2.1.0'
url: https://packages.wazuh.com/windows/wazuh-winagent-v2.1.0-1.exe revision: '1'
repo: https://packages.wazuh.com/windows/
md5: 715fbd55f670c2cecc607f2cbd0b2310 md5: 715fbd55f670c2cecc607f2cbd0b2310
wazuh_agent_config: wazuh_agent_config:
log_format: 'plain' log_format: 'plain'

View File

@ -16,7 +16,7 @@
- name: Windows | Downloading windows Wazuh agent installer - name: Windows | Downloading windows Wazuh agent installer
win_get_url: win_get_url:
dest: C:\wazuh-agent-installer.exe dest: C:\wazuh-agent-installer.exe
url: "{{ wazuh_winagent_config.url }}" url: "{{ wazuh_winagent_config.repo }}wazuh-winagent-v{{ wazuh_winagent_config.version }}-{{ wazuh_winagent_config.revision }}.exe"
when: when:
- correct_version is not defined - correct_version is not defined