From e865e54777ef9ea046bb09cc3dc0b691ce79da80 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 11 Jan 2021 16:01:03 +0100 Subject: [PATCH] Removed sshd_config_files because it leaded to bugs and is not neccessary --- roles/native-sshd/files/sshd_config | 3 --- roles/native-sshd/tasks/main.yml | 4 ---- 2 files changed, 7 deletions(-) diff --git a/roles/native-sshd/files/sshd_config b/roles/native-sshd/files/sshd_config index c03dd62e..c5057301 100644 --- a/roles/native-sshd/files/sshd_config +++ b/roles/native-sshd/files/sshd_config @@ -110,9 +110,6 @@ PrintMotd no # pam does that # override default of no subsystems Subsystem sftp /usr/lib/ssh/sftp-server -# Include specific configuration files -Include /etc/ssh/sshd_config_files/* - # Example of overriding settings on a per-user basis #Match User anoncvs # X11Forwarding no diff --git a/roles/native-sshd/tasks/main.yml b/roles/native-sshd/tasks/main.yml index 8c3437dd..49c14b8f 100644 --- a/roles/native-sshd/tasks/main.yml +++ b/roles/native-sshd/tasks/main.yml @@ -1,7 +1,3 @@ -- name: create sshd_config_files directory - file: - path: /etc/ssh/sshd_config_files - state: directory - name: create sshd_config copy: src: sshd_config