Commit graph

382 commits

Author SHA1 Message Date
Dale McDiarmid
6ef629a869 Merge branch 'barryib-activate-elasticsearch-license' 2017-01-04 11:00:55 +00:00
Dale McDiarmid
6768a15b89 Merge branch 'activate-elasticsearch-license' of https://github.com/barryib/ansible-elasticsearch into barryib-activate-elasticsearch-license 2017-01-04 11:00:40 +00:00
Dale McDiarmid
cc60a4ecbb Fix to use redhat_elasticsearch_install_from_repo 2017-01-03 18:10:45 +00:00
Dale McDiarmid
13b8a84b9d Merge branch 'veger-fix_systemd_service' 2017-01-03 16:13:31 +00:00
Dale McDiarmid
be0877f564 Merged main.yml 2017-01-03 16:13:13 +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
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
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
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
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
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
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
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
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
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
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