You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
349 B
15 lines
349 B
3 years ago
|
- name: Make sure LUKS container is closed.
|
||
|
luks_device:
|
||
|
device: /dev/{{ disk }}2
|
||
|
state: closed
|
||
|
|
||
|
- name: Make sure LUKS container exists and is open.
|
||
|
luks_device:
|
||
|
device: /dev/{{ disk }}2
|
||
|
state: opened
|
||
|
name: "{{ luks_name }}"
|
||
|
type: luks1
|
||
|
cipher: aes-xts-plain64
|
||
|
hash: sha256
|
||
|
passphrase: "{{ luks_password }}"
|