From ef3699e27751185d6c606d6d004c701e3bad0049 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 18 Nov 2016 13:08:52 -0800 Subject: [PATCH] Fix for call to umount() in remount() --- lib/ansible/modules/system/mount.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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