Commit graph

492 commits

Author SHA1 Message Date
Dale McDiarmid
0105003c72 Merge pull request #221 from gingerwizard/master
Use api_host and api_port + removal of tests
2017-01-03 16:06:52 +00:00
Dale McDiarmid
9fc4ddfac4 Send contents correctly 2017-01-03 16:05:11 +00:00
Dale McDiarmid
7794ab7f50 Use api_host, api_port consistently + doc updates. Removal of 1.x testing, centos6 and debian 7 2017-01-03 15:53:10 +00:00
Dale McDiarmid
c84f02bca6 Merge branch 'pixelrebel-issue208' 2017-01-03 15:12:11 +00:00
Dale McDiarmid
de7c5e60af Merge branch 'issue208' of https://github.com/pixelrebel/ansible-elasticsearch into pixelrebel-issue208 2017-01-03 15:12:00 +00:00
Dale McDiarmid
7defc0af76 Merge pull request #220 from gingerwizard/master
Merge 184
2017-01-03 14:45:27 +00:00
Dale McDiarmid
8ad0b165c4 Merge branch 'veger-separately_store_debian_and_redhat_results' 2017-01-03 11:03:26 +00:00
Dale McDiarmid
fd8e554eec merge changes for separate redhat/debian vars for main.yml 2017-01-03 11:03:15 +00:00
Dale McDiarmid
9e6f6f51e2 Merge pull request #219 from gingerwizard/master
Plugin Retry
2017-01-03 10:51:55 +00:00
Dale McDiarmid
fd9c153f97 Merge branch 'dekhtyarev-add_retries_for_plugins_install' 2017-01-03 10:44:24 +00:00
Dale McDiarmid
199cd160bf Merge branch 'add_retries_for_plugins_install' of https://github.com/dekhtyarev/ansible-elasticsearch into dekhtyarev-add_retries_for_plugins_install 2017-01-03 10:44:12 +00:00
Dale McDiarmid
09fa4f1829 Fix for unauthenticated repos 2017-01-03 10:36:23 +00:00
Dale McDiarmid
e8431e028a Merge pull request #218 from gingerwizard/master
Allows unauthenticated repos
2017-01-03 10:35:11 +00:00
Dale McDiarmid
a3533a1180 Merge branch 'meersjo-for_upstream' 2017-01-02 20:06:27 +00:00
Dale McDiarmid
fdcd97aade Merge branch 'for_upstream' of https://github.com/meersjo/ansible-elasticsearch into meersjo-for_upstream 2017-01-02 20:06:17 +00:00
Dale McDiarmid
5b2b76d1fc restoring centos 6 support 2017-01-02 19:56:01 +00:00
Dale McDiarmid
d9abf92502 Merge pull request #217 from gingerwizard/master
Ansible test update + 202
2017-01-02 19:53:50 +00:00
Dale McDiarmid
e32e5f114f Merge branch 'soylent-bugfix/remove-httplib2' 2017-01-02 19:49:17 +00:00
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
6b6bf63b80 Merge pull request #207 from veger/fix_plugin_installation
Add binary prefix for version 5.x
2016-12-14 10:13:30 +01:00
Janne Salo
5c4c76e088 Updated yum repository URL for 5.x 2016-12-08 14:24:28 +02:00
Maarten Bezemer
49dfa81684 Make prefix available when es_plugins is not defined 2016-12-07 22:54:33 +01:00
pixelrebel
deaf5ea0fa Fix mistake in URI body 2016-12-06 18:15:08 -08: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
Jakob Reiter
2a27c76bff Merge pull request #206 from veger/fix_es5_issues
Initial PR for adding 5.x support. Please note, this is still in testing.
2016-12-07 01:16:45 +01:00
pixelrebel
2dcd64c5f1 Empty commit to resolve github push error 2016-12-06 12:20:06 -08:00
pixelrebel
68ad76bfe4 Parse/sanitize network.host and network.port, fallback to es_api_host/es_api_port 2016-12-06 12:15:34 -08:00
pixelrebel
226d163e52 Only use es_api_host in API calls since es_config['network.host'] is not a reliable source 2016-12-05 17:22:03 -08: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
Дехтярёв Евгений Артурович
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