Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
content: "export CRYPTSETUP=y"
when: _luksopen is defined and _luksopen.changed

- name: enforce cryptsetup in grub
copy:
dest: "{{ _tgt_root }}/etc/default/grub.d/cryptodisk.cfg"
content: "GRUB_ENABLE_CRYPTODISK=y"
when: _luksopen is defined and _luksopen.changed

- name: update initramfs
command: chroot {{ _tgt_root }} update-initramfs -u -k all

Expand Down