fix: fix crypto policy integration
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
41ce45ae27
commit
ed5821e9d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user