mirror of https://github.com/ansible/ansible.git
luks_device.py: allows user explicity define luks format version (#61812)
* luks_device.py: allow the user create LUKS based on specific versions - Allow user pass an option 'type' that explicits define the version of LUKS container that will be created. It should be 'luks1' or 'luks2' format. - If 'label' option is defined the 'type' option will be 'luks2' independently of the option 'type' informed by user. (labels NEED luks2 format) Fixes: #58973 Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net> * added the changelog fragment Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net> * luks_device.py: make it fail in certain conditions - Not allow user especify luks1 type and label at the same playbook Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>pull/62160/head
parent
5eb5f74083
commit
5b3526535c
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- luks_device - added the ``type`` option that allows user explicit define the LUKS container format version
|
Loading…
Reference in New Issue