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

fix module argument to be boolean (#47134)

This commit is contained in:
Martin Surovcak 2018-11-30 11:43:29 +01:00 committed by John R Barker
parent aa484c0835
commit 87a9ada188
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- "fix elasticsearch_plugin force to be bool (https://github.com/ansible/ansible/pull/47134)"

View file

@ -61,6 +61,7 @@ options:
description:
- "Force batch mode when installing plugins. This is only necessary if a plugin requires additional permissions and console detection fails."
default: False
type: bool
version_added: "2.7"
plugin_bin:
description:
@ -256,7 +257,7 @@ def main():
src=dict(default=None),
url=dict(default=None),
timeout=dict(default="1m"),
force=dict(default=False),
force=dict(type='bool', default=False),
plugin_bin=dict(type="path"),
plugin_dir=dict(default="/usr/share/elasticsearch/plugins/", type="path"),
proxy_host=dict(default=None),