Commit graph

22 commits

Author SHA1 Message Date
Rene Moser
f80865d32a lvol: remove unused import
See #1425
2016-03-19 00:59:47 +01:00
René Moser
d159e6af34 Merge pull request #1425 from jonasvermeulen/devel
Added resizing code based on %-values
2016-03-19 00:55:51 +01:00
Jonas Vermeulen
b5d75234a3 Added resizing based on %values. Included support for VG|PVS|FREE 2016-03-08 21:54:03 +01:00
Borys Borysenko
a3641cac4e The size option is required for lvol module with state=present 2016-02-25 16:56:05 +02:00
Jonathan Mainguy
7b857b073e add snapshot feature to lvol 2015-12-15 21:49:14 -05:00
Charles Paul
f4be5c6382 allow floating point input for size vale 2015-10-05 12:16:29 -05:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Brian Coca
861b4d0c19 corrected lvol docs version to 2.0 2015-06-16 11:33:14 -04:00
David Wittman
01551a8c15 [lvol] Add opts parameter
Adds the ability to set options to be passed to the lvcreate command
using the `opts` parameter.
2015-06-16 11:33:13 -04:00
fdupoux
1f32287626 Removed conditional assignment of yesopt to make it work with python-2.4 (to pass the Travis-CI test) 2015-06-16 11:33:11 -04:00
fdupoux
4a2e5e4a65 Suppress prompts from lvcreate using --yes when LVM supports this option 2015-06-16 11:33:10 -04:00
Toshio Kuratomi
8893c2d2d0 Fix typo: Need lvreduce instead of lvextend.
Fixes #513
2015-05-20 19:23:45 -07:00
Brian Coca
edf519a0c2 moar quotes 2015-05-14 09:37:00 -04:00
Greg DeKoenigsberg
2fdebb296a Adding author's github id 2015-05-14 01:08:41 -04:00
mcameron
1f5e243acf Revert "system/lvol: Suppress prompts from lvcreate"
This reverts commit f8d04bec1b.
2015-04-08 17:37:53 +01:00
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>
2015-03-22 22:16:37 -05:00
Brian Coca
41ddb689db Merge pull request #182 from misho-kr/devel
fix lvol module to properly query the size of logical volumes
2015-03-06 11:53:33 -05:00
Misho Krastev
d11e36589a Merge branch 'upstream_devel' into devel
Conflicts:
	system/lvol.py
2015-01-24 22:13:53 -08:00
Alexander Gubin
e15fba5156 lvol: Cast size(LogicalVolumeSize) to lower to fix the difference between lvs and lvcreate 2015-01-12 17:43:51 +01:00
Misho Krastev
5acc634549 fix lvol module to properly query the size of logical volumes 2015-01-05 01:52:20 -08:00
Alexander Gubin
20ef2696bc Fix lvol: Find LVM commands in PATH env 2014-11-26 11:27:29 +01:00
Michael DeHaan
b1e789968b File extensions! 2014-09-26 10:40:16 -04:00
Renamed from system/lvol (Browse further)