Commit Graph

10 Commits (87f6507feebfd99299a979bda2f1715f7764cbfb)

Author SHA1 Message Date
fdupoux c948877a63 Removed conditional assignment of yesopt to make it work with python-2.4 (to pass the Travis-CI test) 2016-12-08 11:32:45 -05:00
fdupoux c02fa7cfc9 Suppress prompts from lvcreate using --yes when LVM supports this option 2016-12-08 11:32:45 -05:00
Toshio Kuratomi 90c2e630b5 Fix typo: Need lvreduce instead of lvextend.
Fixes #513
2016-12-08 11:32:41 -05:00
Brian Coca 2753cd186a moar quotes 2016-12-08 11:32:39 -05:00
mcameron 664f965c8d Revert "system/lvol: Suppress prompts from lvcreate"
This reverts commit f8d04bec1bbdfb0e61e6d3255b16b5bfe23b42f1.
2016-12-08 11:32:32 -05:00
Dustin C. Hatch 3e5a7bd475 system/lvol: Suppress prompts from lvcreate
Occasionally, `lvcreate` will prompt on stdin for confirmation. In
particular, this may happen when the volume is being created close to
the location on disk where another volume existed previously. When this
happens, Ansible will hang indefinitely with no indication of the
problem. To work prevent this problem, the `--yes` command-line argument
can be passed to `lvcreate`, which will instruct it not to prompt.

Signed-off-by: Dustin C. Hatch <dustin@hatch.name>
2016-12-08 11:32:29 -05:00
Misho Krastev fcf8223dfe fix lvol module to properly query the size of logical volumes 2016-12-08 11:32:27 -05:00
Alexander Gubin 80e2de0e5d lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 2016-12-08 11:32:27 -05:00
Alexander Gubin 99bcf18410 Fix lvol: Find LVM commands in PATH env 2016-12-08 11:32:23 -05:00
Michael DeHaan 5879c503bb File extensions! 2016-12-08 11:32:18 -05:00