Julien Mailleret
3904913be5
Fix deb and rpm url ( #788 )
...
* Fix commit fix the deb package url for Elasticsearch 6.x
* Fix commit fix the rpm package url for Elasticsearch 6.x and 7.x
* Download deb package directly using apt module
* Use new ansible syntax
2021-03-18 15:22:43 +01:00
SuRaMoN
d99c0c86c5
Fixed running ansible in check mode ( #701 )
...
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2020-06-29 13:46:51 +02:00
Julien Mailleret
79470cb344
replace hardcoded /etc/elasticsearch dir by the good variable
2019-09-18 10:04:50 +02:00
Łukasz Różok
fd3ceedd8c
Remove ES version lock on RedHat when es_version_hold: false
2019-09-06 11:09:24 +02:00
Julien Mailleret
71c405f86d
Merge branch 'master' into option_add_repo
2019-07-11 23:06:59 +02:00
Kevin Tibi
812faf9596
Add option for disable the addition of official repository
2019-07-03 17:24:50 +02:00
Ludovic Petetin
c52eed7aa1
Set userid and groupid between ElasticSearch removal and installation
2019-06-28 14:15:03 +02:00
Michael Russell
5126dbc5e8
Actually remove the unused RedHat repository
2019-01-02 10:06:47 +01:00
Michael Russell
486717bc6f
Remove the other Elasticsearch repo when switching versions
2018-12-31 17:28:37 +01:00
Michael Russell
c2e51f8ecf
Fix jinja syntax variable fun
...
How it was previously "worked" but just ignored trying to remove the
package. Luckily it was caught by the test-kitchen testing!
2018-12-27 17:35:44 +01:00
Michael Russell
3e265a467d
Allow switching between oss and standard packages
...
Before only going from the standard package to oss was supported. Now
this works properly in both directions.
2018-12-27 16:42:14 +01:00
kimoto
91f179d98e
es_allow_downgrades parameter is ignoring yum
2018-08-10 14:14:20 +09:00
Michael Russell
6d6fc3a7cb
Gracefully remove default elasticsearch package when upgrading to the
...
oss version
2018-06-18 12:01:45 +02:00
Michael Russell
bbc5e0603d
Abstract 6.3 changes into a separate task to reduce all of the jinja one
...
liner complexity
Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
2018-06-14 14:44:31 +02:00
Michael Russell
715bd8591e
Use final 6.3.0 release instead of snapshot
2018-06-13 21:34:32 +02:00
Michael Russell
c1b83a892f
WIP: Add testing Makefile and matrix definitions
2018-06-13 09:34:28 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support
2018-06-13 08:29:45 +02:00
Gabriel Preda
d0ed1da107
* changed condition as suggested by @Crazybus
2018-05-02 11:49:25 +03:00
Gabriel Preda
b3b5edef70
Fix RedHat install - until condition was not correct
2018-02-13 11:50:43 +02:00
Brad Pitcher
891d87c019
Merge branch 'master' into become-yes
2017-09-19 14:22:02 -06:00
Dale McDiarmid
5e1873ca68
Simpler restart handling + issue-test for recreation of problems
2017-08-20 10:30:39 -04:00
Brad Pitcher
024e6caa4b
use become: yes when root is needed
2017-05-12 13:31:50 -07:00
Dale McDiarmid
fd8e554eec
merge changes for separate redhat/debian vars for main.yml
2017-01-03 11:03:15 +00:00
Konstantin Papkovskiy
b0de7b654a
Remove httplib2
...
The dependency on httplib2 was removed in Ansible 2.1
2016-12-05 17:47:52 +03:00
Maarten Bezemer
ad3b20872f
Store Debian and RedHat installation results in a separate variable
2016-11-03 16:11:57 +01:00
Dale McDiarmid
8915d5f9a5
httplib2 through pip for now
2016-08-30 11:37:24 +01:00
Dale McDiarmid
0aa00b477b
Plugin listed error detection improved
2016-08-29 17:41:35 +01:00
Dale McDiarmid
aa284de281
Fix for variable rery
2016-08-29 17:04:12 +01:00
Dale McDiarmid
e3c71a7fd6
Using python-httplib2 + retries for yum delays
2016-08-29 16:34:14 +01:00
Dale McDiarmid
d73e515de3
Test improvements for xpack + httplib2 support
2016-07-23 19:48:50 +01:00
Дехтярёв Евгений Артурович
ef1f19ab09
added new lines in tasks/elasticsearch-Debian.yml and tasks/elasticsearch-RedHat.yml
2016-05-26 07:37:33 +06:00
Дехтярёв Евгений Артурович
01401f9d55
fix for ES plugins install
2016-05-25 19:24:58 +06:00
Dale McDiarmid
d19297adda
Support for configuration per node and multiple nodes per server
2015-10-22 19:09:53 +01:00
Jakob Reiter
af084b6f35
Changed versionlock include name
2015-10-19 14:47:54 +02:00
Jakob Reiter
cd9d8565a4
Added versionlock to elasticsearch-RedHat.yml as it has to be done before install
2015-10-19 14:47:54 +02:00
Jakob Reiter
cb2d9a1530
Use es_custom_package_url in EL if provided.
2015-10-19 14:47:22 +02:00
Jakob Reiter
17868c2229
Changed variable name to es_pakage_url to reflect changes from 3dc934b
2015-10-19 14:47:22 +02:00
Jakob Reiter
a99edb67b5
Added functionality to install rpm from elastic url instead of the repo.
2015-10-19 14:47:22 +02:00
Jakob Reiter
0de743b843
Changed behavior of installing with ninor version supplied or not supplied to work with one task instead of two
2015-07-14 11:08:17 +02:00
Jakob Reiter
687d8e33ca
Closes #9 : If only major version is defined, install the latest minor version
2015-07-07 11:28:46 +02:00
Jakob Reiter
2f3f84b6f3
Changed /etc/default/ to /etc/sysconfig/ on EL. Fixes #14
2015-07-06 16:17:34 +02:00
Robin Clarke
14df6c8b89
Corrected data dir
2015-05-23 14:44:08 +02:00
Robin Clarke
6d8b1d478e
Added elasticsearch user/group and data dir to configuration
2015-05-23 14:38:13 +02:00
Robin Clarke
d9a86b5d06
Allow es_heap_size to be defined
2015-05-22 21:11:33 +02:00
Robin Clarke
5cec2dd17f
libselinux-python required in CentOS 6.x
2015-05-15 10:53:27 +02:00
Robin Clarke
3da43c91d4
Changed default variable names so entire hash is not overwritten. Enabled plugin install
2015-05-13 13:33:43 +02:00
Robin Clarke
3aecd58b59
RedHat and Debian complete
2015-05-13 09:45:55 +02:00