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
rubar çelik
69c8997a83
Update elasticsearch-Debian.yml ( #761 )
...
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2021-02-03 15:10:13 +01:00
Jan Dreyer
d04905e75f
removing duplicate stuff
...
moving es_apt_key_id to correct position
2019-09-21 23:41:37 +02:00
Jan Dreyer
14d3a41edd
merge upstream
2019-09-21 23:36:21 +02:00
VerboEse
212c4e1389
make repository key id configurable via variable
2019-09-21 23:31:30 +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
7562990df9
Remove ES version hold on Debian when es_version_hold: false
2019-09-05 13:50:41 +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
Julien Mailleret
2cb020a4c2
Remove multi instances support ( #566 )
...
* remove multi instances support
The goal is to stop supporting installation of more than one node in the same host. This commit update the Ansible role README documentation and remove the multi instances kitchen test.
* remove systemd and init.d templates
As we no more need to support more than one node on the same host, we no more need to override init files provided by elasticsearch official packages.
* remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed )
* remove custom user and custom group
ES_USER and ES_GROUP settings are no longer supported (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html#_configuring_custom_user_and_group_for_package_is_no_longer_allowed )
* add upgrade procedure
* use same task for license activation with and without authentication
2019-06-03 14:18:09 +02:00
Grzegorz Nowak
c4b51482c1
make playbook (tested for debians) compatible with the mode
2019-02-28 14:33:53 +01:00
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
Jan Dreyer
d48b52f290
* don't fetch APT key if existent
2018-11-13 16:39:20 +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