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

pull/4879/head
James Tanner 11 years ago
parent c459347976
commit aafe7f5b37

@ -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)

Loading…
Cancel
Save