mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
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:
parent
004eb6992f
commit
650ae65f24
32 changed files with 58 additions and 58 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue