From 08874e4bf6cf9e86b9a89aa4ae380b66c169c6fe Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Fri, 23 Sep 2016 14:31:06 -0700 Subject: [PATCH] Fix #3153 again (#4989) --- 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 38785cd9303..1033c3f80ab 100644 --- a/lib/ansible/modules/system/mount.py +++ b/lib/ansible/modules/system/mount.py @@ -375,7 +375,7 @@ def mount(module, **kwargs): if get_platform().lower() == 'freebsd': cmd += ['-F', args['fstab']] - elif get_platform().lower() == 'linux': + elif get_platform().lower() == 'linux' and args['fstab'] != '/etc/fstab': cmd += ['-T', args['fstab']] cmd += [name]