mirror of
https://gitea.0xace.cc/ansible-galaxy/luks.git
synced 2024-11-24 23:36:41 +00:00
25 lines
653 B
Markdown
25 lines
653 B
Markdown
# Idempotent ansible role for luks
|
|
|
|
# Configuration example
|
|
|
|
luks_passphrase: ioxee2thoo4aiYoiThiochozaa1ishoo
|
|
|
|
luks_devices:
|
|
- name: "nvme0n1p1-decrypted"
|
|
device: "/dev/nvme0n1p1"
|
|
passphrase: "{{ luks_passphrase }}"
|
|
persistent: true
|
|
perf_no_read_workqueue: true
|
|
perf_no_write_workqueue: true
|
|
perf_same_cpu_crypt: true
|
|
allow_discards: true
|
|
- name: "nvme1n1p1-decrypted"
|
|
device: "/dev/nvme1n1p1"
|
|
passphrase: "{{ luks_passphrase }}"
|
|
persistent: true
|
|
perf_no_read_workqueue: true
|
|
perf_no_write_workqueue: true
|
|
perf_same_cpu_crypt: true
|
|
allow_discards: true
|
|
|