update wazuh-app verification version
This commit is contained in:
parent
3f03433d73
commit
a46cd78779
@ -51,8 +51,14 @@
|
||||
mode: 0664
|
||||
notify: restart kibana
|
||||
|
||||
- name: Install Wazuh-APP (can take a while)
|
||||
shell: if ! /usr/share/kibana/bin/kibana-plugin list | grep wazuh; then /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-2.0_5.2.2.zip; fi;
|
||||
|
||||
- name: Verify if Wazuh-APP is installed
|
||||
command: /bin/bash /usr/share/kibana/bin/kibana-plugin list
|
||||
register: kibanainstalled
|
||||
|
||||
- name: Restart Kibana if Wazuh-APP is installed
|
||||
shell: /usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-2.0_5.2.2.zip && service kibana restart
|
||||
when: kibanainstalled.stdout.find('wazuh') == -1
|
||||
|
||||
- name: Ensure Logstash, Kibana and Elasticsearch started and enabled
|
||||
service:
|
||||
|
||||
@ -16,7 +16,7 @@ filebeat_output_elasticsearch_hosts:
|
||||
|
||||
filebeat_output_logstash_enabled: true
|
||||
filebeat_output_logstash_hosts:
|
||||
- "192.168.212.153:5000"
|
||||
- "192.168.212.158:5000"
|
||||
|
||||
filebeat_enable_logging: true
|
||||
filebeat_log_level: debug
|
||||
|
||||
@ -1 +1,2 @@
|
||||
192.168.33.166
|
||||
192.168.212.155
|
||||
192.168.212.156
|
||||
|
||||
Loading…
Reference in New Issue
Block a user