community.general/lib/ansible/modules/database/misc
Olli-Antti Kivilahti 8eacbd0381 elasticsearch_plugin - Show STDERR on module failures. (#41954)
* elasticsearch_plugin - Show STDERR on module failures.

I tried to install a ES plugin without
  become: yes
and found after debugging the module that the module failed ude to permission issues.

The only error message I got was
  Is analysis-icu a valid plugin name?

That was strange considering I followed the example documentation by the letter.

I found out that when this module fails, it hides the real reason for failure.

This patch replaces the generic error with more meaningful diagnostics.

* elasticsearch_plugin - Show STDERR on module failures. Changelog fragment

 samdoran commented 2 days ago

This looks good. Please create a changelog fragment to go along with this change. See fragments for examples.
2018-06-29 17:28:17 -04:00
..
__init__.py
elasticsearch_plugin.py elasticsearch_plugin - Show STDERR on module failures. (#41954) 2018-06-29 17:28:17 -04:00
kibana_plugin.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
redis.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
riak.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00