1
0
Fork 0
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:
chrisweaver 2016-07-21 15:02:49 -04:00 committed by Matt Clay
parent 879afebf77
commit 531954e2f6

View file

@ -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')
)
)