Remove bundles after kibana plugin uninstall

This commit is contained in:
Miguelangel Freitas 2017-07-12 13:18:27 -04:00
parent 0b30cb4ca4
commit 83695d9ddf

View File

@ -27,8 +27,11 @@
tags: install tags: install
- name: Removing Wazuh-APP by compatibility issues - name: Removing Wazuh-APP by compatibility issues
shell: /usr/share/kibana/bin/kibana-plugin remove wazuh shell: "{{ item }}"
when: wazuh_app_verify.stdout == "0" when: wazuh_app_verify.stdout == "0"
with_items:
- /usr/share/kibana/bin/kibana-plugin remove wazuh
- rm -rf /usr/share/kibana/optimize/bundles
tags: install tags: install
- name: Install Wazuh-APP (can take a while) - name: Install Wazuh-APP (can take a while)