diff --git a/lib/ansible/modules/extras/packaging/language/bower.py b/lib/ansible/modules/extras/packaging/language/bower.py index f0dd58023ba..34284356f6e 100644 --- a/lib/ansible/modules/extras/packaging/language/bower.py +++ b/lib/ansible/modules/extras/packaging/language/bower.py @@ -154,7 +154,7 @@ def main(): name = module.params['name'] offline = module.params['offline'] - path = module.params['path'] + path = os.path.expanduser(module.params['path']) state = module.params['state'] version = module.params['version']