Dale McDiarmid
87e32dc241
Reworking of templates
2017-08-16 12:41:10 +01: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
konasp
4f8538a6b7
Fixing boolean expression syntax when installing templates/license
2017-03-03 11:45:53 +01:00
Dale McDiarmid
197cf05a0e
Shield to Security and other X-Pack clear up
2017-01-11 13:02:23 +00:00
Dale McDiarmid
fc400862b1
Fix for license update
2017-01-04 16:39:00 +00:00
Dale McDiarmid
2ea0842a6c
Changes to support license
2017-01-04 13:23:22 +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
pixelrebel
deaf5ea0fa
Fix mistake in URI body
2016-12-06 18:15:08 -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
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
Dale McDiarmid
fbfbb66d56
Template management with files - no nasty shell commands
2016-08-30 10:38:54 +01:00
Dale McDiarmid
605baf9a96
More tests
2016-07-24 19:18:04 +01:00
Dale McDiarmid
31cc54ddbc
Templates now invoked as handler to cover edge cases
2016-07-24 01:10:07 +01:00