diff --git a/library/files/stat b/library/files/stat index c1d58995c3..a1e142acb4 100644 --- a/library/files/stat +++ b/library/files/stat @@ -67,6 +67,7 @@ def main(): ) path = module.params.get('path') + path = os.path.expanduser(path) follow = module.params.get('follow') try: