1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-22 03:39:08 +00:00

Change default={'no','yes'} to default={False,True} in packaging/os modules (#554)

This commit is contained in:
Amin Vakil 2020-06-22 10:07:47 +04:30 committed by GitHub
parent 72e5a7dba2
commit 004eb6992f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 16 deletions

View file

@ -190,7 +190,7 @@ def main():
argument_spec=dict(
state=dict(default="present", choices=["present", "absent"]),
name=dict(aliases=["pkg"], required=True),
use_packages=dict(type='bool', default='yes')))
use_packages=dict(type='bool', default=True)))
p = module.params