Michael Scherer
c793571bc3
Port mount to python3 and python 2.4 compatible syntax ( #3678 )
2016-12-08 11:24:29 -05:00
Konstantin Gribov
9284c80039
Escape spaces, backslashes when create new entry in fstab ( #3193 )
...
Supplement to PR #1454 and issue #530 .
Fixes #3192 .
Fixes #1861 (introduced by PR #1454 ).
Signed-off-by: Konstantin Gribov <grossws@gmail.com>
2016-12-08 11:24:23 -05:00
Joshua Kugler
15ae8c8e0b
Fix mount's handling of passno
2016-12-08 11:24:17 -05:00
Robin Roth
ee06cd27b2
use custom ismount function in mount module ( #2737 )
...
* based on cpython os.path.ismount
* includes patch from http://bugs.python.org/issue2466
* fixes #2186
* when the upstream bug is fixed this should be removed/rewritten
* use ismount from module_utils
2016-12-08 11:24:17 -05:00
Brian Coca
9e0aef8ea2
docs updates and fixes
...
fixes http://github.com/ansible/ansible/issues/14876
2016-12-08 11:24:11 -05:00
Matt Martz
aaf762573e
Various simple linting type cleanups on modules
2016-12-08 11:24:06 -05:00
fti7
581ce7dd32
mount: Support for Check-Mode
2016-12-08 11:23:24 -05:00
0tmc
6e4c5e0a12
Use of proper fstab file on FreeBSD
2016-12-08 11:23:17 -05:00
Konstantin Gribov
8d91c3a61a
Escape spaces, backslashes and ampersands in fstab
...
Fixes #530 .
It's more generic than #578 which only fixes spaces escaping in name (target dir to mount).
Escaping is used in both `set_mount` (important for `src`, `name` and `opts`) and
`unset_mount` (for `name`).
It's shouldn't be used in `mount` and `umount` since `name` parameter is passed as array element
to `module.run_command`.
Signed-off-by: Konstantin Gribov <grossws@gmail.com>
2016-12-08 11:23:14 -05:00
sysadmin75
f096359608
ansible-modules-core #530 fix - Mount module does not accept spaces in mount point path
2016-12-08 11:23:13 -05:00
Greg DeKoenigsberg
eb881d7d5d
Proper author info for all remaining modules
2016-12-08 11:23:07 -05:00
Mario Loria
00613cd4f3
Setting the actual passno and dump defaults, and warning user of consequences in nulling
...
Using ansible 1.8.4, I found that these two options actually work slightly different than advertised.
2016-12-08 11:22:48 -05:00
Brian Coca
2278a69f7b
fix for mount w/o opts (bug introduced when fixing bind mounts)
2016-12-08 11:22:43 -05:00
Jonathan Mainguy
aef138107c
Fixes bind mounts
...
Fixed tab's and spaces, or so I think I did
Fixed tabs and spaces for real this time
2016-12-08 11:22:36 -05:00
Robert Estelle
4e2d05b1f3
Remove incorrect executable permissions.
2016-12-08 11:22:26 -05:00
Michael DeHaan
213e518165
file extensions!
2016-12-08 11:22:22 -05:00