fix(cleanup,config): xen tmp cleanup, tpm2 fallback warning, add code comments

This commit is contained in:
2026-02-22 01:59:01 +01:00
parent dc5aa5077e
commit 4efd64664d
5 changed files with 17 additions and 5 deletions

View File

@@ -80,10 +80,11 @@
host stderr={{ configuration_luks_tpm2_enroll_host.stderr | default('') }}
rescue:
- name: Warn about TPM2 enrollment failure
ansible.builtin.debug:
ansible.builtin.fail:
msg: >-
TPM2 enrollment failed — falling back to keyfile auto-decrypt.
WARNING: TPM2 enrollment failed — falling back to keyfile auto-decrypt.
The system will use a keyfile instead of TPM2 for automatic LUKS unlock.
ignore_errors: true
- name: Fallback to keyfile auto-decrypt
ansible.builtin.set_fact: