Konstantin Papkovskiy
b0de7b654a
Remove httplib2
...
The dependency on httplib2 was removed in Ansible 2.1
2016-12-05 17:47:52 +03:00
Jakob Reiter
9dc21d4e39
Merge pull request #200 from jakommo/master
...
Conditional for checking if shield is in the feature list, did not work.
Closes #190
2016-11-29 22:24:06 +01:00
Jakob Reiter
5619ada110
Conditional for checking if shield is in the feature list, did not work.
...
Closes #190
2016-11-29 22:11:16 +01:00
Дехтярёв Евгений Артурович
61bb156dbe
Add retries for install plugins task
2016-11-25 17:21:13 +07:00
Maarten Bezemer
8f989c41a7
Disable check if ES_HEAP_SIZE exists for ES 5.x
...
ES_HEAP_SIZE is not used for ES5.x anymore, instead ES_JAVA_OPTS 'Xms' and 'Xmx' are used
2016-11-21 11:31:25 +01:00
Mickael Ange
9f3d6da436
Fixed undefined variables when upgrading to Ansible 2.2.0. and the elasticsearch role is skipped using a when condition at the playbook level.
2016-11-15 16:03:05 +08:00
Jakob Reiter
a4a0329df7
Merge pull request #183 from veger/fix_es_java_opts
...
Fix setting ES_JAVA_OPTS
2016-11-09 23:11:25 +01:00
Jakob Reiter
0dde27d952
Merge pull request #169 from rcwsr/restart-on-config-change
...
Restart on config change
2016-11-09 12:58:35 +01:00
Jakob Reiter
93ad715757
Merge pull request #188 from jakommo/master
...
Some fixes for shield related tasks
2016-11-08 10:56:24 +01:00
Jakob Reiter
286a93ea86
When a second node is installed, the shield directory and the user* files are not automatically created.
...
This could cause the role to fail.
- Added check to that shield directory exists
- Added chown -R for the shield directory, as user* files created by the esusers command, belonged to the user ansible is running as.
2016-11-07 18:38:58 +01:00
Jakob Reiter
8a7656c58f
Added default value to es_scripts_fileglob. Could fail if undefined.
...
Closes #187
2016-11-07 18:37:01 +01:00
Jakob Reiter
c40f9dd298
Added a 15 sec pause before the Native User List command.
...
Command was run when the realm was not initialized yet, causing the playbook to fail.
2016-11-07 18:35:28 +01:00
Jakob Reiter
127f8907d5
Merge pull request #179 from veger/fix_disabled_shield
...
Prevent Ansible errors when shield is not installed/disabled, by providing (empty) default values to users_to_remove, users_to_add, and es_users.
2016-11-07 12:06:00 +01:00
Jakob Reiter
f3a6ece33b
Merge pull request #175 from jakommo/master
...
Use network.host and http.port for templates and scripts, if available
2016-11-06 14:30:02 +01:00
Jakob Reiter
5caf76b77e
Merge pull request #177 from veger/remove_debug_line
...
Remove debug line
2016-11-06 14:07:02 +01:00
Maarten Bezemer
65238c74bd
Fix version_compare usage
2016-11-04 16:04:31 +01:00
Maarten Bezemer
d341a4c0ea
Version 2.X does need the filter to parse the plugin output
2016-11-04 15:56:27 +01:00
Maarten Bezemer
bfb74b96a4
Fix version check for plugin prefix
2016-11-04 15:55:46 +01:00
Maarten Bezemer
ad3b20872f
Store Debian and RedHat installation results in a separate variable
2016-11-03 16:11:57 +01:00
Maarten Bezemer
ea8146c8dc
Fix setting ES_JAVA_OPTS
2016-11-03 16:02:21 +01:00
Maarten Bezemer
523270405e
Add support for Elasticsearch 5.x
...
* Use log4j2.properties instead of logging.yml
* Add jvm.options
* Use bootstrap.memory_lock instead of bootstrap.mlockall
* Get rid of work directory
* Executable does not accept `-D` anymore, replace with `-E` and `-p`
* Get rid of 5.x default (file)s
2016-11-03 15:41:42 +01:00
Maarten Bezemer
dd7623fffe
Fix issues with systemd service
2016-11-03 14:53:45 +01:00
Maarten Bezemer
a1d9951219
Prevent Ansible errors when shield is not installed/disabled
2016-11-02 15:02:51 +01:00
Maarten Bezemer
2771eb2a92
Add binary prefix for version 5.x
2016-11-02 14:29:11 +01:00
Maarten Bezemer
2294645f8a
Remove debug line
2016-11-02 11:58:15 +01:00
Jakob Reiter
56837b0627
Merge pull request #165 from barryib/configure-java-options
...
Manage ES_JAVA_OPTS in template
2016-11-02 09:24:15 +01:00
Robin Cawser
5f514a122a
Restarts ES service when config has been changed
2016-10-31 08:59:26 +00:00
Robin Cawser
75b1c59232
register config change
2016-10-31 08:59:00 +00:00
Jakob Reiter
d92f468d65
Removed additional newline
2016-10-28 18:46:50 +02:00
Jakob Reiter
5212c6eb4c
Use network.host and http.port if available.
...
Was causing issues if not bound to localhost and using none default port, as es_api_host/port default to localhost/9200
2016-10-28 18:42:44 +02:00
Jakob Reiter
ef9ead504e
Merge pull request #173 from jakommo/master
...
Remove old http repo on debian/ubuntu and use https one.
2016-10-28 18:25:08 +02: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
Jakob Reiter
38354cb0bb
Merge pull request #170 from koenpunt/patch-1
...
use https for package sources
2016-10-27 14:45:31 +02:00
Koen Punt
8a6928815d
Install apt-transport-https for debian
2016-10-27 10:38:33 +02:00
Koen Punt
fb31a1fcb5
use https for package sources
2016-10-27 00:20:23 +02:00
Thierno IB. BARRY
f3056c7a1d
manage ES_JAVA_OPTS in template
2016-10-07 15:09:48 +02:00
Thierno IB. BARRY
5da67786e2
use include_vars to include license during tests
2016-09-27 16:59:20 +02:00
Thierno IB. BARRY
61a3ba32c5
add xpack license activation tests
2016-09-21 17:04:31 +02:00
Dale McDiarmid
913e773c2c
Merge pull request #157 from jakommo/master
...
Updated systemd template with the changes from the one that ships wit…
2016-09-20 10:13:49 +01:00
Jakob Reiter
34f4c49e00
Added conditional for ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec, as its only available on ES >=2.0
2016-09-20 10:52:05 +02:00
Dale McDiarmid
e55462b37e
Merge pull request #159 from gingerwizard/master
...
Support for message auth
2016-09-19 18:49:43 +01:00
Thierno IB. BARRY
fbbb06111d
update xpack license's url
2016-09-19 18:39:32 +02:00
Dale McDiarmid
a95127905b
Support for message auth + test
2016-09-19 17:09:27 +01:00
Jakob Reiter
a9f01fed17
Updated systemd template with the changes from the one that ships with the .deb/.rpm.
...
Closes #149
2016-09-19 17:45:12 +02:00
Thierno IB. BARRY
daa14f687f
fix typo when removing xpack plugins
2016-09-19 17:41:56 +02:00
Thierno IB. BARRY
da57e2dd65
no log password when adding or updating user
2016-09-19 17:41:24 +02:00
Thierno IB. BARRY
8b061afa81
Activate ES license
2016-09-19 17:40:42 +02:00
Dale McDiarmid
488f53498e
Merge pull request #156 from gingerwizard/master
...
Support for Role Mapping
2016-09-19 15:07:53 +01:00
Dale McDiarmid
a8a0676b59
Tests for role mapping
2016-09-19 14:39:36 +01:00
Dale McDiarmid
77612a9d8e
Support for role mapping
2016-09-19 13:57:09 +01:00