diff --git a/lib/ansible/modules/system/mount.py b/lib/ansible/modules/system/mount.py index 0af2a5af3fc..9e67e1f60a3 100644 --- a/lib/ansible/modules/system/mount.py +++ b/lib/ansible/modules/system/mount.py @@ -373,7 +373,7 @@ def remount(module, mount_bin, args): if rc != 0: msg = out+err if ismount(args['name']): - rc,msg = umount(module, args) + rc, msg = umount(module, args['name']) if rc == 0: rc,msg = mount(module, args) return rc, msg