From 2a0c9bb3a2e7c9aee91864e9aaf7837190af22ba Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sun, 27 Mar 2016 21:08:05 +0200 Subject: [PATCH] Use type 'path' for rootdir, for pkgng --- lib/ansible/modules/extras/packaging/os/pkgng.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/packaging/os/pkgng.py b/lib/ansible/modules/extras/packaging/os/pkgng.py index a78bda27dfb..757ccaca99f 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)