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

reviewable/pr18780/r1
James Tanner 11 years ago
parent 57da4e04b1
commit 441669b118

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