Commit graph

971 commits

Author SHA1 Message Date
Daniel Chamot
5d85d03c9c add missing 'ml' and 'graph' to templates/elasticsearch.yml.j2 2017-06-26 11:25:14 +02:00
Daniel Chamot
2c129af421 add 'ml' to es_xpack_features 2017-06-26 11:24:20 +02:00
David Reed
4826f981d7 Fixes handler and file issues with ES templates
Fixes an issue with handlers in Ansible 2.2.1+
[https://github.com/ansible/ansible/issues/20603](). Moves the
load-templates handler to the top of the file to get around this
issue.

Fixes an issue loading installed templates into ES. The use of
file lookup meant that the template files are checked on the
machine that initiated the Ansible play, this only works if Ansible
has been run locally, breaking for remote machines. Switched to
using the slurp module to grab file contents on the target machine.
2017-05-17 13:18:44 +01:00
janderson2
7876a662ca Fix yum proxy logic in repo template
Previously if the proxy host was defined but empty, an invalid proxy was
config was added and the install would fail.  This is likely to occur
for instances where you conditionally set the proxy.
2017-05-15 15:17:34 +01:00
janderson2
9197f2fbcd Ensure elasticsearch is always started
Ensure that elasticsearch is started/running even if non of the handlers
are called.  Previously, if the host was provisioned correctly, but
elasticsearch was not running the role would not attempt to start it.
This can happen if elasticsearch was killed, or if the previous ansible
run failed prior to running the handlers.
2017-05-15 15:15:17 +01:00
Brad Pitcher
4731553438
typo: Native Relm->Native Realm 2017-05-12 13:38:45 -07:00
Brad Pitcher
024e6caa4b
use become: yes when root is needed 2017-05-12 13:31:50 -07:00
Jakob Reiter
3621561473 Merge pull request #306 from elastic/revert-304-readme
Revert "fix version and add missing whitespace"
2017-05-11 12:28:27 +02:00
Jakob Reiter
8baa7318bb Revert "fix version and add missing whitespace" 2017-05-11 12:27:45 +02:00
Jakob Reiter
4f24eac8c6 Merge pull request #304 from davidak/readme
fix version and add missing whitespace
2017-05-11 09:27:24 +02:00
David Kleuker
2ec60261d6 fix version and add missing whitespace 2017-05-10 13:59:56 +02:00
obalyuk87
e754c2645f fixed duplicate configuration in settings block
sample warnings...

[obalyuk@obalyuk-t450s elk]$ ansible-playbook -i hosts elastic-setup.yml 
 [WARNING]: While constructing a mapping from /home/obalyuk/Projects/misc-scripts/ansible/elk/elastic-setup.yml, line 23, column 5, found a duplicate dict key (es_scripts). Using last defined value only.

 [WARNING]: While constructing a mapping from /home/obalyuk/Projects/misc-scripts/ansible/elk/elastic-setup.yml, line 23, column 5, found a duplicate dict key (es_templates). Using last defined value only.

 [WARNING]: While constructing a mapping from /home/obalyuk/Projects/misc-scripts/ansible/elk/elastic-setup.yml, line 23, column 5, found a duplicate dict key (es_version_lock). Using last defined value only.
2017-05-03 23:28:40 -04:00
Jakob Reiter
8002829bbe Merge pull request #288 from tw-cde/master
fix the check for the openjdk
2017-04-18 19:42:33 +02:00
Russell Snyder
eed6352dfb Moved up the x-pack directory logic to include role_mappings
Signed-off-by: Russell Snyder <russell@redowl.com>
2017-04-18 13:26:16 -04:00
sjkyspa
91310458c8 fix the check for the openjdk 2017-04-13 23:00:15 +08:00
Jakob Reiter
5a3805becb Merge pull request #279 from cinience/patch-1
Disable the Netty recycler
2017-04-06 17:06:09 +02:00
cinience
454bce4353 Disable the Netty recycler
https://github.com/elastic/elasticsearch/pull/22452
2017-03-25 12:34:05 +08:00
John Reed
692637f073 Check for restarts only when restart handler executes 2017-03-21 10:13:10 -04:00
Maarten Bezemer
f5e1a94869 Fix handling of plugins when es_plugins_reinstall is false
* Get (and use) list of plugins that need to be installed
* Just remove all plugins of the remove list
2017-03-20 14:30:43 +01:00
John Reed
64f9cdbc5c Copied when statement from restart handler to the service check in tasks/main.yml 2017-03-18 18:11:36 -04:00
Dale McDiarmid
fce5eac4ce Merge pull request #269 from gingerwizard/master
Support for plugin diffs + improved testing on minor upgrades + fixes
2017-03-17 18:39:40 +00:00
Jared Carey
cb85735fb6 Update package.yml 2017-03-17 11:46:07 -06:00
Dale McDiarmid
01992fdb77 Fixes for mlock all test 2017-03-17 00:20:50 +00:00
Dale McDiarmid
af30f882dd Fixes for multi + config tests 2017-03-16 23:59:13 +00:00
Dale McDiarmid
c8d0173fb8 fixing spelling mistake in test 2017-03-16 22:23:20 +00:00
Dale McDiarmid
1bc817a378 Support for plugin diffs + improved testing on minor upgrades + fixes 2017-03-16 21:06:17 +00:00
Dale McDiarmid
7d159f1766 Merge pull request #267 from gingerwizard/master
Fixes and tests for idempotent behavour
2017-03-15 17:35:52 -04:00
Dale McDiarmid
4e8af6ced5 Fixes for conditional execution as a task 2017-03-15 17:24:10 -04:00
Dale McDiarmid
595368f873 Re-structure to make xpack idempotent 2017-03-15 16:12:22 -04:00
Dale McDiarmid
ddbf4ad956 Fix for idempotent security 2017-03-15 15:19:39 -04:00
Dale McDiarmid
d9bb90fdc8 Idempotency fix for java 2017-03-15 14:52:58 -04:00
Dale McDiarmid
946d89ac74 Idempotent tests - Make java install idempotent 2017-03-14 12:58:46 -07:00
Dale McDiarmid
c5bc6cd5e9 Merge pull request #264 from gingerwizard/master
Idempotent Fix
2017-03-13 13:49:41 -07:00
Dale McDiarmid
0973da9c46 Idempotent fix 2017-03-13 13:21:46 -07:00
Dale McDiarmid
ce25f40da0 License update 2017-03-13 13:18:56 -07:00
Dale McDiarmid
51dc601b57 Merge pull request #261 from konasp/master
Fixing boolean expressions syntax when installing templates/license
2017-03-13 12:54:34 -07:00
Dale McDiarmid
f9e842f6f9 Merge pull request #243 from CyVerse-Ansible/es-v5.2.0-log4j
Changes to log4j2.properties introduced in ES 5.2.0
2017-03-13 12:42:01 -07:00
Dale McDiarmid
480f750fd5 Merge pull request #262 from meersjo/xpack_checkmode
Add check_mode:no to x_pack_installed
2017-03-13 12:26:44 -07:00
Dale McDiarmid
845ba68952 Merge pull request #250 from geoplex/fix-systemd-restart-rhel
Include RedHat 7 in distributions that should use systemd (fixes #249)
2017-03-13 12:09:58 -07:00
Dale McDiarmid
4d688c1c63 Merge pull request #252 from dcleric/Add-jmx-remote-for-monitoring
Ability to add custom jvm options
2017-03-10 10:47:47 -08:00
Johan De Meersman
52ae57023a Add check_mode:no to x_pack_installed so ansible doesn't crash in check mode 2017-03-07 14:47:32 +01:00
konasp
0c0a48d4ae Fixing boolean expression syntax when installing templates/license -> repositioned not 2017-03-03 12:41:32 +01:00
konasp
0046008bf5 Fixing boolean expression syntax when installing templates/license -> adding missing quotes 2017-03-03 12:14:26 +01:00
konasp
4f8538a6b7 Fixing boolean expression syntax when installing templates/license 2017-03-03 11:45:53 +01:00
Jonathan Strootman
7d76069ea3 Changes to log4j2.properties introduced in ES 5.2.0 2017-02-25 08:32:28 -07:00
Jakob Reiter
32c7a13b69 Merge pull request #253 from CyVerse-Ansible/Ansible-Galaxy-Badge
Added badge for Ansible Galaxy
2017-02-18 14:52:34 +01:00
Jonathan Strootman
356943d87b Added badge for Ansible Galaxy 2017-02-13 12:46:01 -07:00
p.molyavin
425278923f Refactor to more common options for jvm 2017-02-13 13:13:20 +07:00
p.molyavin
f80fe56af9 Fix typo 2017-02-13 09:09:17 +07:00
p.molyavin
44499d1ec3 Add options to enable jmx monitoring 2017-02-10 13:50:01 +07:00