diff --git a/library/packaging/pkgng b/library/packaging/pkgng index af1fdf93ef..dbae01bbb1 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)