diff --git a/files/sshd_config b/files/sshd_config deleted file mode 100644 index 78d32b5..0000000 --- a/files/sshd_config +++ /dev/null @@ -1,43 +0,0 @@ -Port 22 -Protocol 2 -HostKey /etc/ssh/ssh_host_rsa_key -HostKey /etc/ssh/ssh_host_dsa_key -HostKey /etc/ssh/ssh_host_ecdsa_key -HostKey /etc/ssh/ssh_host_ed25519_key -UsePrivilegeSeparation yes - -KeyRegenerationInterval 3600 -ServerKeyBits 1024 - -SyslogFacility AUTH -LogLevel INFO - -LoginGraceTime 120 -PermitRootLogin yes -StrictModes yes - -RSAAuthentication yes -PubkeyAuthentication yes - -IgnoreRhosts yes -RhostsRSAAuthentication no -HostbasedAuthentication no - -PermitEmptyPasswords no - -ChallengeResponseAuthentication no - -PasswordAuthentication no - -X11Forwarding yes -X11DisplayOffset 10 -PrintMotd no -PrintLastLog yes -TCPKeepAlive yes - -AcceptEnv LANG LC_* - -Subsystem sftp /usr/lib/openssh/sftp-server - -UsePAM yes -UseDNS no diff --git a/tasks/repo_pre_install.yml b/tasks/repo_pre_install.yml index 6bc4b3f..309d9fc 100644 --- a/tasks/repo_pre_install.yml +++ b/tasks/repo_pre_install.yml @@ -13,17 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -- name: Ensure ssh config - copy: - src: "{{ item.src }}" - dest: "{{ item.dest }}" - with_items: - - { src: "sshd_config", dest: "/etc/ssh/sshd_config" } - notify: - - reload ssh - tags: - - repo-ssh - - name: Drop rsyncd configuration file(s) copy: src: "{{ item.src }}"