Comments (9)
I think some of requested improvements are already supported:
Remove and re-install all plugins if ES is upgraded - as required in 2.xelasticsearch-plugins.yml#L5Provide aa flag to re-install all pluginses_plugins_reinstall
Install plugins listed and not installed - currently supported- Remove all plugins if none are specified and some are installed
from ansible-elasticsearch.
Would it be nice to use the elasticsearch_plugin for ansible to manage plugins? Here is the module on github
from ansible-elasticsearch.
Would be nice but we still support ansible pre 2.0 :-)
from ansible-elasticsearch.
1-4 are not currently supported. There is no (2) and upgrades donot occur of plugins on upgrade of ES.
3 is supported.
from ansible-elasticsearch.
Is this module maintained for the latest version of ES? Does it work for 1.7 and 2.0 as plugin management commands will/have changed.
from ansible-elasticsearch.
@gingerwizard I'm missing something. Can you please correcte me if I'm wrong on these following improvements:
- Improvement 1: I think that when ES is re-installed,
es_plugins_reinstall
is set totrue
. This will remove listed plugins ines_plugins
. And those will be installed during plugins installation. - Improvement 2: When the
es_plugins_reinstall
is set totrue
, this will lead to same case as (1). - Improvement 4: For me, only this is not currently supported.
@electrical @gingerwizard Right the ansible module doesn't work on ES 1.x and ES 2.x right now. Its only works on ES 1.x. This is due to the ES verbs changes. But, I think it's a minor bug and can be fixed easily. We should consider using this module in a near future. Our contributions on that module are welcomed :)
from ansible-elasticsearch.
So currently it doesn't behave as it should. I'm about to make a pull request that will change this behaviour slightly. The main issue is that when you upgrade ES you need to remove ALL plugins and reinstall them. If any of the plugins change between the listed version and the installed version, we will also have to remove all of them and re-install them - again the plugins require this e.g. shield.
This behaviour, due to class loader checks, may change in the future and we are discussing with the ES dev team.
Happy to use the module for installation of the plugin, but this ticket deals with the above required behaviour. I will add this either tomorrow or late today.
from ansible-elasticsearch.
Ok, waiting for your PR for more precisions.
For information, there are PR I made for the ansible's elasticsearch_plugin module to:
from ansible-elasticsearch.
@barryib pull request 82 improves this i think. We now remove all plugins and re-install them if the user changes elasticsearch version - as required. If the user changes the defined list nothing happens however - they must use es_plugins_reinstall: true. The next pull request i make (hopefully tomorrow) will diff the lists and remove those not required. Closing this for now in favour of #84
from ansible-elasticsearch.
Related Issues (20)
- Failure in "Debian - Ensure elasticsearch is installed" HOT 4
- FR: Install Elasticsearch-plugins with this role HOT 2
- Wrong elasticsearch.keystore permissions forbid elasticsearch.service from starting HOT 6
- issue with "could not find java in bundled JDK" HOT 2
- Does not accept static IP config Eg: transport.host: <hostname>" HOT 2
- gpg dependencies missing HOT 3
- Segmentation fault in JNA library due to non-existent home directory for elasticsearch user HOT 2
- Specifying `path.data` as a list is deprecated in Elasticsearch 7.13 HOT 2
- Turn on systemd on OracleLinux HOT 2
- kibana connect to elastic HOT 1
- Bootstrapping a new/additional instance with activated security fails HOT 1
- Single node cluster configuration HOT 2
- Playbook not working with rh8 HOT 3
- filter_plugins/custom.py is skipped when ansible is installed through pip HOT 2
- Hacktoberfest participation
- ssl-tls-setup.md should point to location of bin/elasticsearch-certutil HOT 2
- Role fails when pointed to es_ssl_keystore / es_ssl_truststore using CA and Cert created with bin/elasticsearch-certutil HOT 4
- Upload pem certs from local to remote
- Safe options for log4j2 - CVE-2021-44228 HOT 4
- How to remove always tag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-elasticsearch.