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:
parent
aa484c0835
commit
87a9ada188
2 changed files with 4 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- "fix elasticsearch_plugin force to be bool (https://github.com/ansible/ansible/pull/47134)"
|
|
@ -61,6 +61,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- "Force batch mode when installing plugins. This is only necessary if a plugin requires additional permissions and console detection fails."
|
- "Force batch mode when installing plugins. This is only necessary if a plugin requires additional permissions and console detection fails."
|
||||||
default: False
|
default: False
|
||||||
|
type: bool
|
||||||
version_added: "2.7"
|
version_added: "2.7"
|
||||||
plugin_bin:
|
plugin_bin:
|
||||||
description:
|
description:
|
||||||
|
@ -256,7 +257,7 @@ def main():
|
||||||
src=dict(default=None),
|
src=dict(default=None),
|
||||||
url=dict(default=None),
|
url=dict(default=None),
|
||||||
timeout=dict(default="1m"),
|
timeout=dict(default="1m"),
|
||||||
force=dict(default=False),
|
force=dict(type='bool', default=False),
|
||||||
plugin_bin=dict(type="path"),
|
plugin_bin=dict(type="path"),
|
||||||
plugin_dir=dict(default="/usr/share/elasticsearch/plugins/", type="path"),
|
plugin_dir=dict(default="/usr/share/elasticsearch/plugins/", type="path"),
|
||||||
proxy_host=dict(default=None),
|
proxy_host=dict(default=None),
|
||||||
|
|
Loading…
Reference in a new issue