Commit graph

155 commits

Author SHA1 Message Date
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
Julien Mailleret
25bd09f683
Small fixes and improvements (#569)
- add .ruby-version
- update ansible min version
- update ansible galaxy tags
- fix doc and changelog
2019-05-31 08:50:00 +02:00
Julien Mailleret
7f5be969e0
skip java install on 7.x (java embeded in 7.x version) (#568) 2019-05-29 17:51:02 +02:00
Julien Mailleret
a879b74def
[xpack] use elasticsearch default xpack features (#560)
- Stop forcing es_xpack_features variable in order to let elasticsearch install default features described in http://localhost:9200/_xpack
- Change xpack test scope to be able to test default xpack install
  - xpack scenario will test xpack install with default features
  - xpack upgrade scenario will fully test security feature
  - oss-to-xpack-upgrade will test installing only other specific features
- Cleanup some duplicate serverspec tests
- Remove `system_key`feature (deprecated in 5.6 and removed in 6.0 - [Breaking Changes 6.0.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-6.0.0-xes.html))
- Cleanup some ansible code (especially in `when` conditions)
2019-05-29 12:10:11 +02:00
Julien Mailleret
1585ec2c1c
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)
2019-05-27 18:16:50 +02:00
Julien Mailleret
a1c81884e2
[7.x] add support for elasticsearch 7.x and remove support for 5.x (#558)
- add support for elasticsearch 7.x
- remove support for elasticsearch 5.x
- update kitchen-ansible configuration (install ansible and jmespath dependencies using os repositories)
- replace geoip plugin in tests as this one is now embeded in elasticsearch since 6.7.0 (cf. https://www.elastic.co/guide/en/elasticsearch/plugins/6.7/ingest-geoip.html)
- update discovery configuration for 7.x (in ES 7.x, discovery.zen.ping.unicast.hosts is replaced by discovery.seed_hosts and transport.tcp.port is replaced by transport.port, also discovery.seed_hosts is disabled on master nodes to avoid "master_not_discovered_exception" error when creating templates in the same play)
- update index template structure for 7.x 
- update security realms settings for 7.x (cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#include-realm-type-in-setting)
2019-05-09 09:06:02 +02:00
Thiago Nache Carvalho
88d283e216
Fixes first example syntax in README 2019-03-19 15:41:09 -03:00
Michael Russell
81f30e7972
Update readme to include versioned install command
In #538 it was discovered that recent versions of the ansible galaxy
command will fail if there aren't semver compatible releases in the
history.

The error says:

> Please contact the role author to resolve versioning conflicts, or
> specify an explicit role version to install.

Removing the old releases is not such a great idea so instead updating
the install command is the best option.

Fixes: #538
2019-03-11 23:07:01 +10:00
Michael Russell
9fff18758e
Bump version to 6.5.1 and document installing test dependencies #508 2018-11-26 11:25:10 +01:00
Kaxil Naik
571dde5ac2
Make the order of configs consistent for comparing
When comparing `es_config` for master and data nodes, the order was different. This PR makes it consistent, hence it is easy to compare.
2018-09-26 17:11:22 +01:00
Michael Russell
527ba791de
Document es_use_repositoruy and es_custom_package_url 2018-09-18 09:44:02 +02:00
Ugo Sangiorgi
15de8aa844 fix readme.md 2018-07-13 16:00:40 -05:00
Michael Russell
ceebfd0fc5
Update readme and add changelog into git for the 6.3 release 2018-06-20 07:47:05 +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
01fd5ceec4 Merging went wrong 2018-05-05 08:03:00 +02:00
Jeffrey Everling
9ba1082841 Commit README as well 2018-05-05 08:02:12 +02:00
Jeffrey Everling
796731721c Removing ssl configuration 2018-05-05 08:00:38 +02:00
Jeffrey Everling
ff9a64ba56 Revert "Fixed documentation commit issue"
This reverts commit a3ea8e0c84.
2018-05-05 07:56:36 +02:00
Jeffrey Everling
a3ea8e0c84 Fixed documentation commit issue 2018-05-03 16:58:29 +02:00
Jeffrey Everling
479119540e Sync with HEAD 2018-05-03 16:55:16 +02:00
Jeffrey Everling
cc28b6149a Added more x-pack config options 2018-05-03 16:45:04 +02:00
Jeffrey E
96f3a87d95
Fixed documentation
Added documentation for es_action_auto_create_index and fixed the order
2018-05-03 16:27:27 +02:00
Jeffrey Everling
7aebcaefa6 Added documentation for added features
Updated configuration template with if statements for optional features
2018-04-26 15:01:18 +02:00
Michael Russell
03a685b29d
Merge pull request #392 from edge-records/master
Parameterize timeout value for ES startup in Debian SysV init scripts
2018-02-01 17:04:15 +01:00
Michael Russell
fbfc85e766
Make 6.x the default version 2018-02-01 14:54:16 +01:00
Shri Bodas
e77cdc586d
Adding README changes 2018-01-30 11:23:35 +01:00
Stephan Eckweiler
39678c0292 Documentation update 2017-10-09 17:24:45 +01:00
Dale McDiarmid
d7a30bcd3b Fix formatting 2017-09-19 12:29:19 +01:00
Dale McDiarmid
d5a87cd647 README corrections 2017-09-14 16:35:26 +01:00
Dale McDiarmid
5bee06bc95 Fix for Issue 343 in README 2017-08-18 20:10:46 +01:00
Dale McDiarmid
c9d3fbf11d Commnet re ml in readme 2017-08-18 20:01:51 +01:00
Dale McDiarmid
00faa9115a Added comment in readme for support of es_xpack_custom_url 2017-08-18 20:01:31 +01:00
Dale McDiarmid
23abae8c67 Merge pull request #308 from silverlogic/systemd-limit-nproc
allow max threads to be configured
2017-08-18 16:20:29 +01:00
Ryan Pineo
2f96bc42f4 allow max threads to be configured 2017-08-18 11:04:56 -04:00
Dale McDiarmid
67dc05bf19 Dependency on jmspath 2017-08-17 23:27:05 +01:00
Dale McDiarmid
4ac165bfd7 Fix invalid syntax on es_api_port:9201 2017-08-17 22:45:20 +01:00
welchwilmerck
0fa01cf876 Issue 294 - lookup runs on control machine 2017-08-16 13:20:57 -04:00
Dale McDiarmid
b93493733d Fix for proxy settings into env var 2017-08-15 14:48:12 +01:00
Dale McDiarmid
911b2df9ac Test for plugin on standard 2017-08-15 14:31:56 +01:00
Dale McDiarmid
381ab57ab9 Merge pull request #299 from obalyuk87/master
fixed duplicate configuration in README
2017-08-15 10:02:54 +01:00
Dale McDiarmid
c2b8f65deb Moving to https for instructions 2017-08-14 17:13:53 +01:00
Dale McDiarmid
4d18c06283 Readme update re plugins 2017-08-14 16:21:02 +01:00
Jakob Reiter
8baa7318bb Revert "fix version and add missing whitespace" 2017-05-11 12:27:45 +02:00
David Kleuker
2ec60261d6 fix version and add missing whitespace 2017-05-10 13:59:56 +02:00
obalyuk87
e754c2645f fixed duplicate configuration in settings block
sample warnings...

[obalyuk@obalyuk-t450s elk]$ ansible-playbook -i hosts elastic-setup.yml 
 [WARNING]: While constructing a mapping from /home/obalyuk/Projects/misc-scripts/ansible/elk/elastic-setup.yml, line 23, column 5, found a duplicate dict key (es_scripts). Using last defined value only.

 [WARNING]: While constructing a mapping from /home/obalyuk/Projects/misc-scripts/ansible/elk/elastic-setup.yml, line 23, column 5, found a duplicate dict key (es_templates). Using last defined value only.

 [WARNING]: While constructing a mapping from /home/obalyuk/Projects/misc-scripts/ansible/elk/elastic-setup.yml, line 23, column 5, found a duplicate dict key (es_version_lock). Using last defined value only.
2017-05-03 23:28:40 -04:00
Jonathan Strootman
356943d87b Added badge for Ansible Galaxy 2017-02-13 12:46:01 -07:00
Dale McDiarmid
72ba86df93 Update README.md 2017-01-18 12:28:19 +00:00
Dale McDiarmid
c294110a6b Documentation updates for plugins and multi node usage 2017-01-18 11:40:19 +00:00
Dale McDiarmid
b9c9fd109e set api port in config test + doc clarification 2017-01-17 15:19:50 +00:00