summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-09-29 07:16:53 -0700
committerToshio Kuratomi <a.badger@gmail.com>2016-09-29 07:16:53 -0700
commitd7ad14c42223db83fdd8501b93ccbf42f2613bc2 (patch)
treefadf1789fd1ffa8aab1fc2f2ca4f2579356fe421
parent8968bb74744af248c7fb2dac07adc71550cf07f1 (diff)
downloadansible-modules-core-d7ad14c42223db83fdd8501b93ccbf42f2613bc2.tar.gz
Revert "Fix #3153 again (#4989)"
This reverts commit 512f3917fa830dd67e3a4596fcfb74d4e5517446. Revert mount changes for 2.1.2. They are causing regressions so it's too late for 2.1.2.
-rw-r--r--system/mount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/mount.py b/system/mount.py
index df235e46..b80e6bfc 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' and args['fstab'] != '/etc/fstab':
+ elif get_platform().lower() == 'linux':
cmd += ['-T', args['fstab']]
cmd += [name]