Rework manage-ssh-keys: default to admin user, use ansible facts for home dir, guard key lists

This commit is contained in:
DerLinkman
2026-07-18 00:07:57 +02:00
parent e510ac1f15
commit 7455a021ea
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
- name: Füge Good Keys hinzu
import_tasks: add-goodkeys.yml
when: good_keys
when: good_keys.defined and good_keys | length > 0
- name: Entferne Bad Keys
import_tasks: remove-badkeys.yml
when: bad_keys
when: bad_keys.defined and bad_keys | length > 0