From 35f1f7154a0f78f92a7d5d72d1955fbbf2a000bf Mon Sep 17 00:00:00 2001 From: Noah Knegt Date: Mon, 27 Feb 2023 17:41:17 +0100 Subject: [PATCH] ssh: Add ansible user to the allowed list Signed-off-by: Noah Knegt --- roles/base/templates/sshd_config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/templates/sshd_config.j2 b/roles/base/templates/sshd_config.j2 index 3e270bf..a5185a5 100644 --- a/roles/base/templates/sshd_config.j2 +++ b/roles/base/templates/sshd_config.j2 @@ -5,7 +5,7 @@ Port {{ ssh_port | default(22) }} Protocol 2 # Authentication: -AllowUsers {{ ssh_users | default("noahk") }} +AllowUsers {{ ssh_users | default("noahk ansible") }} ChallengeResponseAuthentication no HostbasedAuthentication no LoginGraceTime 120