community.general/lib/ansible/modules
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
..
cloud ovirt: Support to search entity with additional parameters (#35285) 2018-01-25 14:19:25 -05:00
clustering Module DOCUMENTATION should match argspec (#34895) 2018-01-16 12:18:51 +00:00
commands Update docs for telnet module (#35257) 2018-01-24 07:33:47 +00:00
crypto Module to generate Diffie-Hellman parameters (#32620) 2018-01-26 08:08:29 +00:00
database influxdb: fix 'database_name' not optional (#35280) 2018-01-24 16:25:12 +01:00
files archive: Add support for xz (#34110) 2018-01-22 07:33:07 -05:00
identity Support for Services in the IPA module (#35175) 2018-01-24 23:08:42 +05:30
inventory Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
messaging Add max_priority to give priority ability to a queue 2017-09-08 16:09:50 -07:00
monitoring New module: monitoring/grafana_datasource (#29006) 2018-01-18 14:02:21 +00:00
net_tools Support for creation and modification of bridge and bridge slaves for nmcli (#34071) 2018-01-24 11:00:09 +05:30
network update nxos_interface doc (#35350) 2018-01-25 20:02:02 +05:30
notification Module DOCUMENTATION should match argspec (#34895) 2018-01-16 12:18:51 +00:00
packaging Add rhsm_repository module (#28292) 2018-01-22 12:42:29 -05:00
remote_management Add ManageIQ alerts module (#32136) 2018-01-24 07:35:39 -07:00
source_control github_release: Fix state returned from module (#33735) 2018-01-23 08:37:41 +05:30
storage modules/na_cdot_lun: properly compare LUN size (#34846) 2018-01-17 16:32:54 -05:00
system Add thin pool / volume managment to lvol (#19312) 2018-01-26 08:49:51 +00:00
utilities Add module support to yamllint sanity test. (#34964) 2018-01-16 15:08:56 -08:00
web_infrastructure Allowing to write intermediate certificate into file. (#34328) 2018-01-26 01:48:13 -05:00
windows implement gather_subset on Windows setup (#35212) 2018-01-22 21:10:25 -08:00
__init__.py