community.general/lib/ansible
Reto Gantenbein 466e1b289b Add thin pool / volume managment to lvol (#19312)
* add functionality to create thin pool / volume on Linux LVM to lvol module

add `thinpool' parameter.
change `lv' parameter to not required.

To create thin poll, specify `thinpool'(, `vg' and `size') parameter and omit `lv' parameter.
It will create thin pool, nameed by `thinpool' parameter.

To create thin volume, specify both `thinpool' and `lv' parameter (also `vg' and `size' paramter is need).
It will create thin volume on `thinpool' pool, named by `lv' parameter.

Thin volume and pool can delete whith 'state=absent' parameter.
Thin volume is resizable like normal volume.
Thin pool can extend, but not reduce. This limitation is in Linux's LVM.

* Add thin volume support

- Based on f816618

- Indicate that either lv or thinpool are required parameters using
AnsibleModule's required_one_of.

- Resolve conflict with snapshot functionality

* Fix typo in documentation

* Fix and simplify logical volume check

* Rebase fixes

* Convert examples to native YAML syntax

* Fix failure with snapshot creation

* Properly fail when trying to snapshot a thinpool volume

* Don't fail when no size given for thin volume snapshot

Fixes ansible/ansible-modules-extras#2478

* Convert old style required property sneaked in through rebase

* Fix 'too many leading #' syntax check
2018-01-26 08:49:51 +00:00
..
cli add a vault --encrypt-vault-to specify vault id to use for encrypt (#31067) 2018-01-22 17:12:10 -05:00
compat Create a short license for PSF and MIT. (#32212) 2017-11-06 10:25:30 -08:00
config spelling (#35258) 2018-01-24 11:36:40 +00:00
errors Make AnsibleActionDone a private exception 2018-01-22 23:36:34 -08:00
executor Fix debug logs failing with persistent connection (#33049) 2018-01-25 02:48:45 +05:30
galaxy Catch exception comparing role versions, and provide a user friendly error message. Fixes #32301 (#34427) 2018-01-11 17:41:23 -06:00
inventory add inventory caching & use in virtualbox inventory plugin (#34510) 2018-01-22 19:33:14 -05:00
module_utils adds infoblox dynamic inventory script (#35328) 2018-01-25 14:29:11 -05:00
modules Add thin pool / volume managment to lvol (#19312) 2018-01-26 08:49:51 +00:00
parsing Remove deprecated code (#34828) 2018-01-23 12:02:09 -06:00
playbook Temporary (#31677) 2018-01-15 21:15:04 -08:00
plugins Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 2018-01-25 12:37:27 +00:00
template [template/vars] Use to_native(exception) as a fallback for Python 3 which doesn't have a .message attribute (#34044) 2017-12-19 17:34:46 -05:00
utils Fix debug logs failing with persistent connection (#33049) 2018-01-25 02:48:45 +05:30
vars Don't skip an inventory source just because it has a comma (#35002) 2018-01-24 09:44:55 -06:00
__init__.py
constants.py Move module_set_locale and module_lang back to global 2018-01-22 18:38:15 -08:00
release.py Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00