From 97ba242d949d2a09fc3c6bbb8bf6a987c0afa2df Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sat, 22 Apr 2017 19:35:50 +0200 Subject: [PATCH] remove duplicate section --- tasks/main.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 8bb42f1c7..11043d2d7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -36,10 +36,6 @@ template: src='openssh.conf.j2' dest='/etc/ssh/ssh_config' mode=0644 owner="{{ ssh_owner }}" group="{{ ssh_group }}" when: ssh_client_hardening -- name: create ssh_config and set permissions to root/644 - template: src='openssh.conf.j2' dest='/etc/ssh/ssh_config' mode=0644 owner=root group=root - when: ssh_client_hardening - - name: Check if /etc/ssh/moduli contains weak DH parameters shell: awk '$5 < {{ sshd_moduli_minimum }}' /etc/ssh/moduli register: sshd_register_moduli