Commit graph

1089 commits

Author SHA1 Message Date
Julien Mailleret
407dddcae1
hardcode elasticsearch-users command instead of es_xpack_users_command
This variable was introduce to match legacy x-pack/users command before 6.3.
2019-09-16 10:46:43 +02:00
Julien Mailleret
ffc6d99915
clean es_xpack_custom_url variable wich is no more used
This was used to define url to download X-Pack but X-Pack is now embedded in Elasticsearch since 6.3
2019-09-16 10:46:43 +02:00
Julien Mailleret
08512fc17e
fix typo
I think this typo was here since https://github.com/elastic/ansible-elasticsearch/pull/129/commits/048fd636025a00379d2549c36f8b4bd271a8f832
2019-09-16 10:46:37 +02:00
Julien Mailleret
27a524cd07
remove x-pack dir creation 2019-09-16 10:43:32 +02:00
Julien Mailleret
0f601259c6
clean es_xpack_conf_subdir variable
This variable was added to manage specific x-pack dir with version < 6.3
2019-09-16 10:43:32 +02:00
Julien Mailleret
abaf124639
cleanup unused es_version_changed fact 2019-09-16 10:43:32 +02:00
Julien Mailleret
d5e414b9aa
clean code related to xpack plugin install
We don't need this anymore as X-Pack is now already included in elasticsearch since 6.3.
2019-09-16 10:43:32 +02:00
Julien Mailleret
447550903f
clean log config specific to 5.x version 2019-09-16 10:43:32 +02:00
Julien Mailleret
2813c54777
Merge pull request #614 from jmlrt/doc-version
[doc] describe how to select a different elasticsearch version
2019-09-13 10:00:53 +02:00
Julien Mailleret
b7ba308ac4
[doc] describe how to select a different elasticsearch version 2019-09-13 09:30:30 +02:00
Julien Mailleret
909960b9d1
Merge pull request #612 from jmlrt/probot
Add probot config to manage stale issues/pr
2019-09-11 15:23:26 +02:00
Julien Mailleret
09266df689
[github] fix typo in issue template 2019-09-11 14:03:58 +02:00
Julien Mailleret
c88cc53203
[botelastic] add probot config to manage stale issues/pr 2019-09-11 14:03:53 +02:00
Aeva
6811cde9db
Merge branch 'master' into AddSSLSupport 2019-09-07 13:04:22 -07:00
Julien Mailleret
2d1bbf5ac8
Merge pull request #601 from LukeRoz/fixing-package-version-hold
Removing package version hold when `es_version_hold: false`
2019-09-06 12:20:59 +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
Aeva
85d0742acf
Merge branch 'master' into AddSSLSupport 2019-09-05 10:09:48 -07: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
34bede8131
add doc for migration with data move (#605) 2019-09-04 19:15:03 +02:00
Julien Mailleret
38390a5742
Merge branch 'master' into AddSSLSupport 2019-09-04 11:37:04 +02:00
Julien Mailleret
0912e1508a
Merge pull request #600 from titan-architrave/master
alwasy gather the es_major_version variables
2019-09-04 11:16:50 +02:00
Titan Lien
651bfdf0fa alwasy gather the es_major_version variables 2019-08-06 16:00:14 +02:00
Aeva
6f93938c48
Merge branch 'master' into AddSSLSupport 2019-07-24 13:22:21 -07:00
Aeva Black
d7efa2048a Add SSL/TLS support
This commit introduces SSL/TLS support for the elastic search transport
layer. It assumes certificates are generated externally, and only
handles uploading and configuring the server accordingly.
2019-07-23 08:17:39 -07:00
Julien Mailleret
410126465e
Merge pull request #595 from broferek/master
Set limitMEMLOCK for OS using systemd
2019-07-22 16:31:35 +02:00
Ludovic Petetin
5bac5a4dbf Use ini_file module for systemd overriding config file, better task naming and fix variable indentation 2019-07-22 15:19:00 +02:00
Ludovic Petetin
5994840c75 Create overriding systemd directory only if using systemd and memory lock is enabled 2019-07-22 14:42:26 +02:00
Ludovic Petetin
2142c6f8f9 adding systemd limitMEMLOCK override file 2019-07-22 12:30:43 +02:00
Ludovic Petetin
b73cd06c14 Set limitMEMLOCK for OS using systemd 2019-07-22 12:28:40 +02:00
Julien Mailleret
ac9341617e
Merge pull request #593 from jmlrt/bunch-of-small-fixes
Bunch of small fixes
2019-07-12 12:41:36 +02:00
Julien Mailleret
6ca0f06372
fix variables names 2019-07-12 11:59:07 +02:00
Julien Mailleret
718b3936f1
remove http.port recommendation 2019-07-12 11:59:07 +02:00
Julien Mailleret
226df614eb
strip spaces to avoid wrong indent 2019-07-12 11:59:07 +02:00
Julien Mailleret
9df5f7f357
Merge pull request #582 from ktibi/option_add_repo
Add option for disable the addition of official repository
2019-07-12 10:02:09 +02:00
Julien Mailleret
71c405f86d
Merge branch 'master' into option_add_repo 2019-07-11 23:06:59 +02:00
Michael Russell
5be8377402
Merge pull request #591 from elastic/not_so_basic
Add back in force_basic_auth for all http requests
2019-07-10 16:30:11 +02:00
Julien Mailleret
872b06de62
Merge branch 'master' into not_so_basic 2019-07-10 09:21:09 +02:00
Julien Mailleret
ad52b2d403
Merge pull request #588 from broferek/master
Set userid and groupid in a different place in the role
2019-07-10 09:07:19 +02:00
Michael Russell
582c79c607
Add back in force_basic_auth for all http requests
Related: #576
This is needed when using security for 6.x. All other http requests
still have this parameter added.
2019-07-09 21:26:10 +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
X
91669e4186
Merge pull request #1 from elastic/master
sync fork
2019-06-28 14:12:41 +02:00
Julien Mailleret
5b1d028bd2
fix ''dict object has no attribute dict_keys" issue with python3 (#578)
In Python2, the dict.keys(), dict.values(), and dict.items() methods returns a list. Jinja2 returns that to Ansible via a string representation that Ansible can turn back into a list. In Python3, those methods return a dictionary view object.
resource: https://docs.ansible.com/ansible/2.4/playbooks_python_version.html#dictionary-views
2019-06-07 15:54:10 +02:00
Julien Mailleret
b137ebd6ec
Merge pull request #575 from flyinggecko/fix/install-command
Docs: Fix name of elasticsearch ansible role
2019-06-05 15:29:04 +02:00
Julian
3bfc8b1b2e
Fix name of elasticsearch ansible role
Use correct role name from ansible galaxy
2019-06-05 14:48:53 +02:00
Julien Mailleret
c0238edb38
release 7.1.1 version (#573) 2019-06-04 12:18:30 +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
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