1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add better type checking for elasticsearch_plugin

This commit is contained in:
Michael Scherer 2016-03-21 00:23:12 +01:00 committed by Matt Clay
parent 4c63a958e5
commit eefd716e8c

View file

@ -134,8 +134,8 @@ def main():
state=dict(default="present", choices=package_state_map.keys()), state=dict(default="present", choices=package_state_map.keys()),
url=dict(default=None), url=dict(default=None),
timeout=dict(default="1m"), timeout=dict(default="1m"),
plugin_bin=dict(default="/usr/share/elasticsearch/bin/plugin"), plugin_bin=dict(default="/usr/share/elasticsearch/bin/plugin", type="path"),
plugin_dir=dict(default="/usr/share/elasticsearch/plugins/"), plugin_dir=dict(default="/usr/share/elasticsearch/plugins/", type="path"),
proxy_host=dict(default=None), proxy_host=dict(default=None),
proxy_port=dict(default=None), proxy_port=dict(default=None),
version=dict(default=None) version=dict(default=None)