Frank Fischer
596f313b17
Allow not installing Elasticsearch deb repository key
...
If a variable is set in Ansible, there is no way to unset
it ever again, i.e. 'null' or '~' do not work.
Since this value is set in defaults we have to check
for content instead of defined.
2019-01-14 13:10:07 +01:00
Michael Russell
a7b07e458b
Merge pull request #521 from elastic/swapsies
...
Allow switching between oss and standard packages
2019-01-08 19:54:20 +01:00
Michael Russell
f7d402369c
Properly cleanup the other apt repository when switching packages
2019-01-02 10:39:48 +01:00
Michel Weitbrecht
124775740a
Fix package download URL and set ES_PATH_CONF
...
The old URL yields a 404. ES_PATH_CONF is also needed when installing
elasticsearch using the downloaded package.
2018-12-28 15:31:11 +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
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
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
Jeffrey Everling
34f08130e1
Added changes to add required functionality and fix a bug
2018-04-24 12:51:03 +02:00
Cloud Fox
dd9b4aad97
naming unnamed tasks
2018-02-04 07:09:23 +00: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
Dale McDiarmid
09fa4f1829
Fix for unauthenticated repos
2017-01-03 10:36:23 +00:00
Dale McDiarmid
fdcd97aade
Merge branch 'for_upstream' of https://github.com/meersjo/ansible-elasticsearch into meersjo-for_upstream
2017-01-02 20:06:17 +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
Jakob Reiter
adbccc215d
Fix for the issue introduces with the change in https://github.com/elastic/ansible-elasticsearch/pull/170
...
Changed debian repo from http to https, but exisiting http repos (from earlier runs) would persist and lead to an duplicate entry warning in apt.
This PR will remove the old http repo, if present.
2016-10-28 17:36:57 +02:00
Koen Punt
8a6928815d
Install apt-transport-https for debian
2016-10-27 10:38:33 +02:00
Johan De Meersman
c683b2ddec
Allow unauthenticated package installs when es_apt_key is false
2016-09-06 11:28:15 +02:00
Dale McDiarmid
7a2f0b43d2
Merged changes from 138
2016-08-30 12:30:54 +01:00
Dale McDiarmid
d94808d7e2
Merge remote-tracking branch 'elastic/master'
...
# Conflicts:
# meta/main.yml
2016-08-30 11:58:36 +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
Johan De Meersman
f8e140708a
Add support for custom Debian repository; allow repository key to be set to false.
2016-08-17 10:53:57 +02:00
Dale McDiarmid
d73e515de3
Test improvements for xpack + httplib2 support
2016-07-23 19:48:50 +01:00
Dale McDiarmid
d75961c25f
Support for package downgrade
2016-07-20 14:59:10 +01:00
Dale McDiarmid
0cdc83d918
Support for package downgrade
2016-07-20 14:57:21 +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
4ddc73882c
Changed package url variable to es_package_url and added functionality to install from custom url via es_custom_package_url
2015-07-27 21:56:19 +02:00
Jakob Reiter
e3ad5c654c
Changed conditions on tasks tho just use boolen instead of a string.
2015-07-16 13:33:29 +02:00
Jakob Reiter
50c7ff3c29
Removed dots at end of task descriptions to have a common scheme
2015-07-16 11:19:57 +02:00
Jakob Reiter
e9a2fa5014
Added funktionality to download and install a .deb file instead of using
...
the apt repository.
2015-07-15 20:27:07 +02:00
Jakob Reiter
275b7748f1
Changed behavior of installing with ninor version supplied or not supplied to work with one task instead of two
2015-07-14 10:53:12 +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
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
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