mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
committed by
Matt Clay
parent
654a38897f
commit
08874e4bf6
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user