fix(configuration): replace fail+ignore_errors with debug for TPM2 fallback warning
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user