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
parent 004eb6992f
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

@ -238,7 +238,7 @@ def main():
name=dict(default=None, type='str'),
path=dict(default=None, type='path'),
version=dict(default=None, type='str'),
production=dict(default='no', type='bool'),
production=dict(default=False, type='bool'),
executable=dict(default=None, type='path'),
registry=dict(default=None, type='str'),
state=dict(default='present', choices=['present', 'absent', 'latest']),
@ -246,7 +246,7 @@ def main():
unsafe_perm=dict(default=False, type='bool'),
ci=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