summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-09-23 14:31:06 -0700
committerToshio Kuratomi <a.badger@gmail.com>2016-09-23 14:32:16 -0700
commit512f3917fa830dd67e3a4596fcfb74d4e5517446 (patch)
treebdb677d273147307dcbfc6e05ca15179c1cc1d7c
parent9fd4a89df668c8f09480d17f6485c24ea7e6d0e0 (diff)
downloadansible-modules-core-512f3917fa830dd67e3a4596fcfb74d4e5517446.tar.gz
Fix #3153 again (#4989)
-rw-r--r--system/mount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/mount.py b/system/mount.py
index b80e6bfc..df235e46 100644
--- a/system/mount.py
+++ b/system/mount.py
@@ -287,7 +287,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]