Commit Graph

6 Commits (c4f52f62f70a710f3322f3efb5bfc38de47b1176)

Author SHA1 Message Date
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