geerlingguy / ansible-role-elasticsearch

Ansible Role - Elasticsearch
https://galaxy.ansible.com/geerlingguy/elasticsearch/
MIT License
185 stars 208 forks source link

Disable elasticsearch repo by default #57

Closed jamieburchell closed 4 years ago

jamieburchell commented 4 years ago

As per official recommendations, it's a good idea to have the elasticsearch repository disabled by default to avoid accidentally updating it:

https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html

The configured repository is disabled by default. This eliminates the possibility of accidentally upgrading elasticsearch when upgrading the rest of the system.

I was bitten by this yesterday as a system update upgraded elasticsearch from 7.5.1 to 7.5.2 which broke everything, as the installed plugins were for 7.5.1.

jamieburchell commented 4 years ago

I need some help making this work for Debian systems as there does not seem to be an enablerepo equivalent

stale[bot] commented 4 years ago

This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark pull requests as stale.

stale[bot] commented 4 years ago

This pull request has been closed due to inactivity. If you feel this is in error, please reopen the pull request or file a new PR with the relevant details.