From ed5821e9d5c038a3a22e642bb2c671118c5000c9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 18 Sep 2022 22:28:55 +0200 Subject: [PATCH] fix: fix crypto policy integration --- tasks/ssh_default.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/ssh_default.yml b/tasks/ssh_default.yml index 3bd48e5..82260c0 100644 --- a/tasks/ssh_default.yml +++ b/tasks/ssh_default.yml @@ -2,7 +2,6 @@ - name: Gather package facts package_facts: check_mode: False - when: not sshd_crypto_policy_enabled | bool - block: - name: Hardening sshd config @@ -33,7 +32,7 @@ state: present loop: "{{ sshd_allow_groups }}" - - name: Disable SSH server CRYPTO_POLICY + - name: Configure SSH crypto policy usage template: src: etc/sysconfig/sshd.j2 dest: /etc/sysconfig/sshd