mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Enforce boolean type for dup_ok
Stop "choices" from being interpreted as strings.
This commit is contained in:
parent
879afebf77
commit
531954e2f6
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ def main():
|
|||
new_name=dict(default=None, required=False),
|
||||
path=dict(default='/', required=False),
|
||||
new_path=dict(default=None, required=False),
|
||||
dup_ok=dict(default=False, required=False, choices=[False, True])
|
||||
dup_ok=dict(default=False, required=False, choices=[False, True], type='bool')
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue