From 5be04c36eea6047cba35870e28ca13367d498834 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 7 May 2024 15:08:42 +0200 Subject: [PATCH] comments --- evolinux-base/tasks/ssh.included-files.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/evolinux-base/tasks/ssh.included-files.yml b/evolinux-base/tasks/ssh.included-files.yml index 0f90a01f..d134e857 100644 --- a/evolinux-base/tasks/ssh.included-files.yml +++ b/evolinux-base/tasks/ssh.included-files.yml @@ -85,6 +85,9 @@ when: - grep_allowusers_ssh.rc != 0 - grep_allowgroups_ssh.rc == 0 + + # If we don't have AllowGroups nor AllowUsers, do nothing + when: evolinux_ssh_allow_current_user | bool - ansible.builtin.meta: flush_handlers