Commit graph

138 commits

Author SHA1 Message Date
Dale McDiarmid
fd8e554eec merge changes for separate redhat/debian vars for main.yml 2017-01-03 11:03:15 +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
fdcd97aade Merge branch 'for_upstream' of https://github.com/meersjo/ansible-elasticsearch into meersjo-for_upstream 2017-01-02 20:06:17 +00: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
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
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
Maarten Bezemer
ad3b20872f Store Debian and RedHat installation results in a separate variable 2016-11-03 16:11:57 +01:00
Maarten Bezemer
a1d9951219 Prevent Ansible errors when shield is not installed/disabled 2016-11-02 15:02:51 +01:00
Robin Cawser
75b1c59232 register config change 2016-10-31 08:59:00 +00: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
Koen Punt
8a6928815d Install apt-transport-https for debian 2016-10-27 10:38:33 +02:00
Dale McDiarmid
a95127905b Support for message auth + test 2016-09-19 17:09:27 +01:00
Dale McDiarmid
77612a9d8e Support for role mapping 2016-09-19 13:57:09 +01:00
Dale McDiarmid
6470b01512 Wrong syntax 2016-09-19 13:18:34 +01:00
Dale McDiarmid
cfe6d1828a Fix for 147 2016-09-19 13:01:14 +01:00
Johan De Meersman
c683b2ddec Allow unauthenticated package installs when es_apt_key is false 2016-09-06 11:28:15 +02:00
Dale McDiarmid
95ef931ace Merged in #130 2016-08-30 15:04:28 +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
907198d652 Remove errorenous reference to es_plugin_dir 2016-08-30 12:55:45 +01:00
Dale McDiarmid
7a2f0b43d2 Merged changes from 138 2016-08-30 12:30:54 +01:00
Dale McDiarmid
d94808d7e2 Merge remote-tracking branch 'elastic/master'
# Conflicts:
#	meta/main.yml
2016-08-30 11:58:36 +01:00
Dale McDiarmid
8915d5f9a5 httplib2 through pip for now 2016-08-30 11:37:24 +01:00
Dale McDiarmid
0aa00b477b Plugin listed error detection improved 2016-08-29 17:41:35 +01:00
Dale McDiarmid
aa284de281 Fix for variable rery 2016-08-29 17:04:12 +01:00
Dale McDiarmid
e3c71a7fd6 Using python-httplib2 + retries for yum delays 2016-08-29 16:34:14 +01:00
Johan De Meersman
0d095aeea3 Dodge deprecation warnings in plugin and template install by working as per http://docs.ansible.com/ansible/playbooks_conditionals.html#loops-and-conditionals 2016-08-17 16:16:22 +02:00
Johan De Meersman
f8e140708a Add support for custom Debian repository; allow repository key to be set to false. 2016-08-17 10:53:57 +02:00
Dale McDiarmid
5353524137 Remove debug statements 2016-07-24 17:48:42 +01:00
Dale McDiarmid
9eacd3a5e0 Fix for detecting es version changed 2016-07-24 17:39:44 +01:00
Dale McDiarmid
0a269a3d82 Fix for plugin version check 2016-07-24 16:17:39 +01:00
Dale McDiarmid
57fa9e432b Support for all xpack features through generic install + improved tests 2016-07-24 15:25:32 +01:00
Dale McDiarmid
fdf1bda155 Shield config tests + prevent use of xpack in version < 2.0 2016-07-24 12:25:34 +01:00
Dale McDiarmid
31cc54ddbc Templates now invoked as handler to cover edge cases 2016-07-24 01:10:07 +01:00
Dale McDiarmid
048fd63602 Change shield versions if ES changes version 2016-07-23 22:37:22 +01:00
Dale McDiarmid
4f6d5b0a4a Shield now causes restart 2016-07-23 22:18:31 +01:00
Dale McDiarmid
5d3616bd20 Support for removal for shield and license 2016-07-23 21:47:27 +01:00
Dale McDiarmid
d3d9bbca17 Templates load user credentials if provided 2016-07-23 20:18:58 +01:00
Dale McDiarmid
d73e515de3 Test improvements for xpack + httplib2 support 2016-07-23 19:48:50 +01:00
Dale McDiarmid
a149328ae8 Test fixes + ensuring node is started for templates 2016-07-23 16:41:37 +01:00
Dale McDiarmid
ab592724d8 Initial Shield support + latest gems + single plugin dir + new port/host vars 2016-07-22 23:44:27 +01:00
Dale McDiarmid
d75961c25f Support for package downgrade 2016-07-20 14:59:10 +01:00
Dale McDiarmid
0cdc83d918 Support for package downgrade 2016-07-20 14:57:21 +01:00
Dale McDiarmid
5982dad832 107 changes 2016-07-20 13:51:14 +01:00
Dale McDiarmid
8f0f3f70fa remove .orig 2016-07-20 13:18:41 +01:00