From aafe7f5b37ac23c345e2ed6ee2c897b0badb29b3 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Mon, 11 Nov 2013 23:23:56 -0500 Subject: [PATCH] Fixes #4877 set type to bool for cache parameter in apt module --- library/packaging/pkgng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/packaging/pkgng b/library/packaging/pkgng index af1fdf93ef1..dbae01bbb16 100644 --- a/library/packaging/pkgng +++ b/library/packaging/pkgng @@ -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)