From 45a945466bb51a0d069acff34425b77c55cbec13 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 23 Jun 2026 04:28:03 -0500 Subject: [PATCH] 4am. no idea --- roles/ssh/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ssh/tasks/main.yml b/roles/ssh/tasks/main.yml index d386b64..0c19b25 100644 --- a/roles/ssh/tasks/main.yml +++ b/roles/ssh/tasks/main.yml @@ -42,4 +42,4 @@ key: "{{ item }}" path: "{{ ansible_facts['user_dir'] }}/.ssh/known_hosts" state: present - loop: "{{ ssh_gitea_host_key.stdout_lines }}" + loop: "{{ ssh_gitea_host_key.stdout_lines | reject('match', '^#') | list }}"