fix: resolve Jinja2 .keys ambiguity, fastfetch availability, and python interpreter

- Use bracket notation item['keys'] instead of item.keys to avoid
  conflict with Python dict .keys() method
- Remove fastfetch from Debian 12 package list (only available in 13+)
- Set explicit python interpreter path for post-reboot tasks
This commit is contained in:
2026-02-18 19:24:46 +01:00
parent 7b213e7456
commit 2a82ee4d5c
5 changed files with 5 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ users:
sudo: "{{ user.sudo | default('ALL=(ALL) NOPASSWD:ALL') }}"
passwd: "{{ user.password | password_hash('sha512') }}"
lock_passwd: false
{% set ssh_keys = user.keys | default([]) %}
{% set ssh_keys = user['keys'] | default([]) %}
{% if ssh_keys | length > 0 %}
ssh_authorized_keys:
{% for key in ssh_keys %}