Commit Graph

29 Commits (0156cb942e608df6f53760d33a9b3dfe56b409d3)

Author SHA1 Message Date
Jiri Tyr c1a51d74ff Fixing bind mount pattern in the mount module (#5084) 8 years ago
Toshio Kuratomi ca0e78d12a Fix mount default options -- should be defaults, not default 8 years ago
Jiri Tyr 7808f42aff Ultimate fix of the mount module for Linux (#5055) 8 years ago
Jiri Tyr 25585937fb Fixing bind mount on Linux (#1942) (#4439)
* Fixing bind mount on Linux

* Fixing broken implementation
8 years ago
Toshio Kuratomi edf361a5d4 Fix #3153 again (#4989) 8 years ago
Toshio Kuratomi d843204575 Working subset of mount fixes (#4987)
* Fixing bind mount on Linux

* The latest update from jtyr doesn't pass integration tests.

Manually select the changes that are necessary to fix the bug with
unmounting
8 years ago
glovenglaven 9bb0c498df Added Solaris support to core mount module (#4771)
* Added Solaris support to the mount module.

* Added checking so that if a non-standard fstab file is specified it will
still work in Solaris without breaking existing functionality.

* Added a check to avoid writing duplicate vfstab entries on Solaris

* Added "version_added" to new boot option
8 years ago
Michael Scherer cee7473df6 Port mount.py to python3, need to use six.iteritems (#4581) 8 years ago
Michael Scherer 5f1d6ded7f Add support for setting fstab location on Linux too for mount (#3271)
Fix #3153
8 years ago
Ken Mitchell b903c54bac Proposed fix to not require src and fstype arguments for mount. Issue #1259. (#1357) 9 years ago
Michael Scherer c1e40b73f7 Port mount to python3 and python 2.4 compatible syntax (#3678) 9 years ago
Konstantin Gribov ab53adad4b 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>
9 years ago
Joshua Kugler 05109d16ec Fix mount's handling of passno 9 years ago
Robin Roth d3fa192968 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
9 years ago
Brian Coca 84501dbe13 docs updates and fixes
fixes http://github.com/ansible/ansible/issues/14876
9 years ago
Matt Martz c7845456a6 Various simple linting type cleanups on modules 9 years ago
fti7 6a872469fc mount: Support for Check-Mode 9 years ago
Brian Coca 8546744418 Merge pull request #1286 from 0tmc/freebsd_mount_fix
Use of proper fstab file on FreeBSD
9 years ago
Brian Coca 328b6b5a39 Merge pull request #1454 from grossws/patch-issue-530
Escape spaces, backslashes and ampersands in fstab
10 years ago
Brian Coca d59de3af63 Merge pull request #578 from sysadmin75/mount_dir_spaces
allows spaces in names for mount module
10 years ago
Konstantin Gribov dadc1faebd 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>
10 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 10 years ago
0tmc c3cb39dfa0 Use of proper fstab file on FreeBSD 10 years ago
Mario Loria 30be06c971 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.
10 years ago
Brian Coca 5df3058aab fix for mount w/o opts (bug introduced when fixing bind mounts) 10 years ago
sysadmin75 aa99eade7e ansible-modules-core #530 fix - Mount module does not accept spaces in mount point path 10 years ago
Jonathan Mainguy a75bef5bc6 Fixes bind mounts
Fixed tab's and spaces, or so I think I did

Fixed tabs and spaces for real this time
10 years ago
Robert Estelle 4dd099fe7a Remove incorrect executable permissions. 10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago