diff --git a/lib/ansible/modules/system/mount.py b/lib/ansible/modules/system/mount.py index 227556696b4..43ff6bba885 100644 --- a/lib/ansible/modules/system/mount.py +++ b/lib/ansible/modules/system/mount.py @@ -317,7 +317,10 @@ def unset_mount(module, args): def _set_fstab_args(fstab_file): result = [] - if fstab_file and fstab_file != '/etc/fstab': + if ( + fstab_file and + fstab_file != '/etc/fstab' and + get_platform().lower() != 'sunos'): if get_platform().lower().endswith('bsd'): result.append('-F') else: