some fixes

This commit is contained in:
José Luis Ruiz Ruiz 2017-11-01 19:21:10 -04:00
parent 41c75f5519
commit f7cfdf113b
6 changed files with 11 additions and 11 deletions

View File

@ -4,6 +4,6 @@ elasticsearch_node_name: node-1
elasticsearch_http_port: 9200
elasticsearch_network_host: 127.0.0.1
elasticsearch_jvm_xms: null
elastic_stack_version: 5.5.2
elastic_stack_version: 5.6.3
elasticsearch_shards: 5
elasticsearch_replicas: 1

View File

@ -3,4 +3,4 @@ elasticsearch_http_port: "9200"
elasticsearch_network_host: "127.0.0.1"
kibana_server_host: "0.0.0.0"
kibana_server_port: "5601"
elastic_stack_version: 5.5.2
elastic_stack_version: 5.6.3

View File

@ -35,7 +35,7 @@
tags: install
- name: Install Wazuh-APP (can take a while)
shell: "/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-2.1.0_{{ elastic_stack_version }}.zip"
shell: "/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-2.1.1_{{ elastic_stack_version }}.zip"
args:
creates: /usr/share/kibana/plugins/wazuh/package.json
notify: restart kibana

View File

@ -6,7 +6,7 @@ elasticsearch_network_host: "127.0.0.1"
elasticsearch_http_port: "9200"
elasticsearch_shards: 5
elasticsearch_replicas: 1
elastic_stack_version: 5.5.2
elastic_stack_version: 5.6.3
logstash_ssl: false
logstash_ssl_dir: /etc/pki/logstash

View File

@ -13,10 +13,10 @@ wazuh_notify_time: null
wazuh_time_reconnect: null
wazuh_winagent_config:
install_dir: 'C:\wazuh-agent\'
version: '2.1.0'
version: '2.1.1'
revision: '1'
repo: https://packages.wazuh.com/windows/
md5: 715fbd55f670c2cecc607f2cbd0b2310
md5: fd9a3ce30cd6f9f553a1bc71e74a6c9f
wazuh_agent_config:
log_format: 'plain'
syscheck:

View File

@ -15,14 +15,14 @@
- name: Windows | Downloading windows Wazuh agent installer
win_get_url:
dest: C:\wazuh-agent-installer.exe
url: "{{ wazuh_winagent_config.repo }}wazuh-winagent-v{{ wazuh_winagent_config.version }}-{{ wazuh_winagent_config.revision }}.exe"
dest: C:\wazuh-agent-installer.msi
url: "{{ wazuh_winagent_config.repo }}wazuh-agent-{{ wazuh_winagent_config.version }}-{{ wazuh_winagent_config.revision }}.msi"
when:
- correct_version is not defined
- name: Windows | Verify the downloaded Wazuh agent installer
win_stat:
path: C:\wazuh-agent-installer.exe
path: C:\wazuh-agent-installer.msi
get_checksum: yes
checksum_algorithm: md5
register: installer_md5
@ -32,7 +32,7 @@
- installer_md5.stat.checksum != wazuh_winagent_config.md5
- name: Windows | Install Wazuh agent
win_shell: C:\wazuh-agent-installer.exe /S /D={{ wazuh_winagent_config.install_dir }}
win_shell: C:\wazuh-agent-installer.exe /q APPLICATIONFOLDER={{ wazuh_winagent_config.install_dir }}
when:
- correct_version is not defined
@ -75,5 +75,5 @@
- name: Windows | Delete downloaded Wazuh agent installer file
win_file:
path: C:\wazuh-agent-installer.exe
path: C:\wazuh-agent-installer.msi
state: absent