mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
consul_kv, consul_acl: fix missing types bool (#3327)
* Specify bool in consul_kv: validate_certs param * Specify bool in consul_acl: validate_certs param * Specify bool in consul_kv: retrieve param
This commit is contained in:
parent
55130b960b
commit
e44362b6f8
2 changed files with 3 additions and 3 deletions
|
@ -336,7 +336,7 @@ def main():
|
|||
mgmt_token=dict(required=True, no_log=True),
|
||||
host=dict(default='localhost'),
|
||||
scheme=dict(required=False, default='http'),
|
||||
validate_certs=dict(required=False, default=True),
|
||||
validate_certs=dict(required=False, type='bool', default=True),
|
||||
name=dict(required=False),
|
||||
port=dict(default=8500, type='int'),
|
||||
rules=dict(default=None, required=False, type='list'),
|
||||
|
|
|
@ -260,10 +260,10 @@ def main():
|
|||
key=dict(required=True),
|
||||
host=dict(default='localhost'),
|
||||
scheme=dict(required=False, default='http'),
|
||||
validate_certs=dict(required=False, default=True),
|
||||
validate_certs=dict(required=False, type='bool', default=True),
|
||||
port=dict(default=8500, type='int'),
|
||||
recurse=dict(required=False, type='bool'),
|
||||
retrieve=dict(required=False, default=True),
|
||||
retrieve=dict(required=False, type='bool', default=True),
|
||||
state=dict(default='present', choices=['present', 'absent', 'acquire', 'release']),
|
||||
token=dict(required=False, no_log=True),
|
||||
value=dict(required=False),
|
||||
|
|
Loading…
Reference in a new issue