Alberto Martínez Ballesteros
4420df6927
Use a template to write override.conf file ( #697 )
2020-05-27 14:56:03 +02:00
Sylvain Baubeau
20d2a8fe6e
stop using deprecated version_compare ( #659 )
2020-05-06 13:41:00 +02:00
Duy Nguyen
96055923f3
Update elasticsearch-security-file.yml
...
Refactor template tasks
2020-03-06 15:19:09 +08:00
Duy Nguyen
c4e00fdc5f
Update elasticsearch-security.yml
...
Refactor template task for copying roles files
2020-03-06 15:15:28 +08:00
Duy Nguyen
9193660334
Update tasks/xpack/elasticsearch-xpack.yml
...
Co-Authored-By: Julien Mailleret <julien.mailleret@elastic.co>
2020-03-04 22:01:00 +08:00
Duy Nguyen
b1acff4820
Update tasks/xpack/elasticsearch-xpack.yml
...
Co-Authored-By: Julien Mailleret <julien.mailleret@elastic.co>
2020-03-04 22:00:50 +08:00
Duy Nguyen
444d9f473b
Update elasticsearch-xpack.yml
...
Refactor file module and fix file mode syntax to support octal number format
2020-03-04 14:56:35 +08:00
Philipp Gassmann
ff9f2c9f56
fix check mode
...
fix error while evaluating conditional (es_version_locked.stdout|int > 0): 'dict object' has no attribute 'stdout'
2020-02-10 15:49:22 +01:00
Julien Mailleret
12ffadbae5
Merge pull request #669 from retentionscience/gs/missing-become
...
Several tasks in elasticsearch-ssl.yml missing become
2020-01-31 15:32:56 +01:00
Julien Mailleret
7f92658fdc
Merge pull request #671 from stuvusIT/enhancement/no-whitespace-before-newline
...
tasks/snapshot-release.yml: No whitespace before newline
2020-01-31 15:25:31 +01:00
haslersn
886a50c77f
tasks/snapshot-release.yml: No whitespace before newline
2020-01-29 20:08:21 +01:00
Garrick Staples
bd48a3567e
Merge branch 'master' into gs/missing-become
2020-01-28 14:24:55 -08:00
Garrick Staples
14ac4b53ad
Several tasks in elasticsearch-ssl.yml missing become
2020-01-28 14:23:22 -08:00
Julien Mailleret
888480cb75
Merge branch 'master' into fix-es_java_opts-646
2019-12-19 07:21:52 +01:00
Julien Mailleret
f1b79129f1
add proxy options to ES_JAVA_OPTS when defined with es_proxy_host
2019-12-18 11:57:02 +01:00
Julien Mailleret
1116d4ddf4
fix when condition for es_ssl_certificate_authority
...
bool ansible filter can only be used for strings matching "true" or "false"
2019-12-18 11:30:25 +01:00
Julien Mailleret
11bf8d2d54
set templates task to run only if es_templates is true
2019-12-11 13:40:15 +01:00
Julien Mailleret
ea4d6cf43a
ansible code simplification after review
2019-12-02 14:15:00 +01:00
Julien Mailleret
bc7fc40b34
fix files mode syntax
...
From Ansible doc (https://docs.ansible.com/ansible/latest/modules/template_module.html#template-module )
For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must either add a leading zero so that Ansible's YAML parser knows it is an octal number (like 0644 or 01777) or quote it (like '644' or '1777') so Ansible receives a string and can do its own conversion from string into number.
Giving Ansible a number without following one of these rules will end up with a decimal number which will have unexpected results.
2019-11-28 07:54:25 +01:00
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