fix(configuration): replace fail+ignore_errors with debug for TPM2 fallback warning

This commit is contained in:
2026-03-12 12:09:51 +01:00
committed by MORAWSKI Norbert
parent 5b3076d9e1
commit 754668b734

View File

@@ -80,11 +80,10 @@
host stderr={{ configuration_luks_tpm2_enroll_host.stderr | default('') }}
rescue:
- name: Warn about TPM2 enrollment failure
ansible.builtin.fail:
ansible.builtin.debug:
msg: >-
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: