Commit graph

350 commits

Author SHA1 Message Date
Dale McDiarmid
9026b2a0fd Merge branch 'bugfix/remove-httplib2' of https://github.com/soylent/ansible-elasticsearch into soylent-bugfix/remove-httplib2 2017-01-02 19:48:56 +00:00
Dale McDiarmid
d5d2de6340 Kitchen changes 2017-01-02 16:19:48 +00:00
Jakob Reiter
34877d6105 Merge pull request #192 from mickael-ange/upstream-issue-191
Fixed undefined variables when upgrading to Ansible 2.2.0. and the el…
2016-12-07 01:20:48 +01:00
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
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
ea8146c8dc Fix setting ES_JAVA_OPTS 2016-11-03 16:02:21 +01:00
Maarten Bezemer
a1d9951219 Prevent Ansible errors when shield is not installed/disabled 2016-11-02 15:02:51 +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
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
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
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
Dale McDiarmid
1c16af1273 Merge pull request #154 from gingerwizard/master
Fix for 147
2016-09-19 13:47:43 +01:00
Dale McDiarmid
6470b01512 Wrong syntax 2016-09-19 13:18:34 +01:00
Dale McDiarmid
9985b287d0 Readme for questions 2016-09-19 13:05:26 +01:00
Dale McDiarmid
cfe6d1828a Fix for 147 2016-09-19 13:01:14 +01:00
Jakob Reiter
c2dede8958 Merge pull request #153 from jakommo/master
Added LICENSE file.
2016-09-19 12:01:08 +02:00
Jakob Reiter
9dfe3799c8 Added LICENSE file.
Closes #152
2016-09-19 11:47:57 +02:00
Dale McDiarmid
df0c61e93a Merge pull request #144 from gingerwizard/master
Merged in #130
2016-08-30 15:17:56 +01:00
Dale McDiarmid
95ef931ace Merged in #130 2016-08-30 15:04:28 +01:00
Dale McDiarmid
b4dfd3bb15 Merge pull request #143 from gingerwizard/master
138 changes missed
2016-08-30 13:23:10 +01:00
Dale McDiarmid
71e3e076f0 138 merges 2016-08-30 13:21:57 +01:00
Dale McDiarmid
db78b79013 Merge changes 2016-08-30 13:12:53 +01:00
Dale McDiarmid
de29766c9a Merge pull request #142 from gingerwizard/master
Merged changes from 138
2016-08-30 13:08:06 +01:00