fix(configuration): add explicit LUKS auto-decrypt fallback state tracking and logging
This commit is contained in:
@@ -104,6 +104,13 @@
|
||||
failed_when: false
|
||||
no_log: true
|
||||
|
||||
- name: Warn about keyfile enrollment failure
|
||||
when: (configuration_luks_keyfile_unlock_test_after.rc | default(1)) != 0
|
||||
ansible.builtin.debug:
|
||||
msg: >-
|
||||
LUKS keyfile enrollment failed — falling back to manual unlock at boot.
|
||||
The system will prompt for the LUKS passphrase during startup.
|
||||
|
||||
- name: Fallback to manual LUKS unlock if keyfile enrollment failed
|
||||
when: (configuration_luks_keyfile_unlock_test_after.rc | default(1)) != 0
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user