collection: Change default='no's and 'yes's to default=False and default=True (#556)

* Change default={'no','yes'} to default={False,True}

* Add changelog

* Remove changelog
This commit is contained in:
Amin Vakil 2020-06-22 18:26:35 +04:30 committed by GitHub
commit 650ae65f24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 58 additions and 58 deletions

View file

@ -295,13 +295,13 @@ def main():
name=dict(default=None),
path=dict(default=None, type='path'),
version=dict(default=None),
production=dict(default='no', type='bool'),
production=dict(default=False, type='bool'),
executable=dict(default=None, type='path'),
registry=dict(default=None),
state=dict(default='present', choices=['present', 'absent', 'latest']),
ignore_scripts=dict(default=False, type='bool'),
)
arg_spec['global'] = dict(default='no', type='bool')
arg_spec['global'] = dict(default=False, type='bool')
module = AnsibleModule(
argument_spec=arg_spec,
supports_check_mode=True