1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixes #4877 set type to bool for cache parameter in apt module

This commit is contained in:
James Tanner 2013-11-11 23:23:56 -05:00
parent c459347976
commit aafe7f5b37

View file

@ -139,7 +139,7 @@ def main():
argument_spec = dict(
state = dict(default="present", choices=["present","absent"]),
name = dict(aliases=["pkg"], required=True),
cached = dict(default="no", required=False, choices=["yes","no"]),
cached = dict(default=False, type='bool'),
pkgsite = dict(default="", required=False)),
supports_check_mode = True)