diff options
author | Michael Scherer <misc@redhat.com> | 2016-09-02 00:30:44 +0200 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2016-09-23 14:18:34 -0700 |
commit | 162eb30e77b702a000159d2b9979de0cfeb9cda0 (patch) | |
tree | 392578de8a273d22a625755525aa2631bd687596 | |
parent | 13c7288aeaf00f9eea441576cf4475a6f993168a (diff) | |
download | ansible-modules-core-pr/4642.tar.gz |
Fix #3153 againpr/4642
-rw-r--r-- | system/mount.py | 2 |
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] |