Improved removal of performance-analyzer plugin

This commit is contained in:
José Fernández Aguilera 2021-07-29 14:14:41 +02:00 committed by GitHub
parent 78698c2e4f
commit 8582b0954e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,11 @@
- import_tasks: Debian.yml - import_tasks: Debian.yml
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: Remove Performance analyzer plugin - name: Remove performance analyzer plugin from elasticsearch
command: "/usr/share/elasticsearch/bin/elasticsearch-plugin remove opendistro-performance-analyzer" become: true
command: ./elasticsearch-plugin remove opendistro-performance-analyzer
args:
chdir: /usr/share/elasticsearch/bin/
- name: Remove elasticsearch configuration file - name: Remove elasticsearch configuration file
file: file: