Commit Graph

7 Commits (2332af1693637f26e3fcfe5797013c3671441aef)

Author SHA1 Message Date
Dustin C. Hatch f8d04bec1b 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>
10 years ago
Brian Coca 41ddb689db Merge pull request #182 from misho-kr/devel
fix lvol module to properly query the size of logical volumes
10 years ago
Misho Krastev d11e36589a Merge branch 'upstream_devel' into devel
Conflicts:
	system/lvol.py
10 years ago
Alexander Gubin e15fba5156 lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 10 years ago
Misho Krastev 5acc634549 fix lvol module to properly query the size of logical volumes 10 years ago
Alexander Gubin 20ef2696bc Fix lvol: Find LVM commands in PATH env 10 years ago
Michael DeHaan b1e789968b File extensions! 10 years ago