summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2016-09-02 00:30:44 +0200
committerToshio Kuratomi <a.badger@gmail.com>2016-09-23 14:18:34 -0700
commit162eb30e77b702a000159d2b9979de0cfeb9cda0 (patch)
tree392578de8a273d22a625755525aa2631bd687596
parent13c7288aeaf00f9eea441576cf4475a6f993168a (diff)
downloadansible-modules-core-pr/4642.tar.gz
Fix #3153 againpr/4642
-rw-r--r--system/mount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/mount.py b/system/mount.py
index 38785cd9..1033c3f8 100644
--- a/system/mount.py
+++ b/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]