diff --git a/lib/ansible/modules/extras/packaging/os/pkgng.py b/lib/ansible/modules/extras/packaging/os/pkgng.py index a78bda27df..757ccaca99 100644 --- a/lib/ansible/modules/extras/packaging/os/pkgng.py +++ b/lib/ansible/modules/extras/packaging/os/pkgng.py @@ -272,7 +272,7 @@ def main(): cached = dict(default=False, type='bool'), annotation = dict(default="", required=False), pkgsite = dict(default="", required=False), - rootdir = dict(default="", required=False)), + rootdir = dict(default="", required=False, type='path')), supports_check_mode = True) pkgng_path = module.get_bin_path('pkg', True)