Julien Mailleret
04438f9110
allow to deploy custom config files
2019-11-27 11:50:26 +01:00
Julien Mailleret
6217e9485e
stop overriding log4j configuration
...
The log4j configuration template provided by this ansible role doesn't reflect current log4j configuration in elasticsearch 6.x and 7.x.
Also this template doesn't contain any variable so everything is hardcoded inside.
As we don't need to override any value inside, let's use standard elasticsearch log4j configuration file provided by elasticsearch package and stop overriding it with this role.
2019-11-26 23:31:59 +01:00
pemontto
6b1e5c2b63
Fix permissions of cert directory and files
2019-10-31 10:55:40 +00:00
pemontto
70143c6327
Add es_license_api variable
2019-10-31 10:54:53 +00:00
pemontto
a2c4012197
Update and document unmanaged user vars
2019-10-28 14:25:52 +00:00
pemontto
7fd243827c
Add configurable native realm sleep
2019-10-25 10:10:42 +01:00
pemontto
b59262cb34
Fix deprecated license URL
2019-10-18 18:27:55 +01:00
pemontto
3707af1488
Fix conditional for password removal
2019-10-18 17:51:44 +01:00
pemontto
57fa4e5176
Add option to enable xpack trial
2019-10-18 16:54:46 +01:00
pemontto
8d72d86ab8
Fix es_same_keystore conditional
2019-10-16 16:39:31 +01:00
pemontto
e01af7977f
Better support for different truststores
2019-10-16 16:36:43 +01:00
pemontto
2b0343e135
URL encode items in path
2019-10-16 16:36:17 +01:00
pemontto
27e3cff9a2
Add option to keep existing users
2019-10-15 15:37:39 +01:00
pemontto
7196557c09
Update tests
2019-10-13 16:18:55 +01:00
Nathan Young
e2ffdce380
Add ability to use key and truststore passwords
2019-10-12 00:57:49 +01:00
Nathan Young
d0064c6a88
Add option for invalid certificates
2019-10-12 00:03:47 +01:00
Nathan Young
551d93b646
Merge branch 'master' into AddSSLSupport
2019-10-11 23:09:03 +01:00
Nathan Young
9580a08f4d
Fix bare variable boolean
2019-10-11 23:01:05 +01:00
Nathan Young
5da76a85c7
Add api scheme based on http_ssl variable
2019-10-11 17:16:35 +01:00
Nathan Young
a1a190feb7
Fix typo
2019-10-11 17:02:26 +01:00
Nathan Young
2fb648fee6
Fix deprecated security api endpoint
2019-10-11 17:02:15 +01:00
Nathan Young
e516472af0
Fix copy variables
2019-10-11 16:33:09 +01:00
Nathan Young
45ef5a467c
Add SSL keystore and truststore
2019-10-11 16:09:05 +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
1befe6c0d9
stop trying to create users file as it's already created by the official package
2019-09-18 10:57:58 +02:00
Julien Mailleret
9bac169862
use files permissions from official package
2019-09-18 10:57:07 +02:00
Julien Mailleret
6a1b886753
use default permissions from official package for plugin directory
2019-09-18 10:53:43 +02:00
Julien Mailleret
79470cb344
replace hardcoded /etc/elasticsearch dir by the good variable
2019-09-18 10:04:50 +02:00
Julien Mailleret
c8b666bd79
remove /etc/elasticsearch/security directory creation
...
This directory isn't used anywhere in this ansible-role
2019-09-18 09:51:45 +02:00
Julien Mailleret
08a8a467b6
fix missing permissions
2019-09-16 12:31:07 +02:00
Julien Mailleret
8e1cafacf5
add some comment to better identify user migration tasks from elasticsearch < 6.3
2019-09-16 10:46:43 +02:00
Julien Mailleret
e45c902e5e
clean unused task related to multi-instance directories
2019-09-16 10:46:43 +02:00
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
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
Aeva
6811cde9db
Merge branch 'master' into AddSSLSupport
2019-09-07 13:04:22 -07:00
Łukasz Różok
fd3ceedd8c
Remove ES version lock on RedHat when es_version_hold: false
2019-09-06 11:09:24 +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
38390a5742
Merge branch 'master' into AddSSLSupport
2019-09-04 11:37:04 +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
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
b73cd06c14
Set limitMEMLOCK for OS using systemd
2019-07-22 12:28:40 +02:00