sshd: Fix crypto configs for el8 systems
This commit is contained in:
parent
917674bac8
commit
df2573a650
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@
|
||||||
line: "CRYPTO_POLICY="
|
line: "CRYPTO_POLICY="
|
||||||
notify: Restart sshd
|
notify: Restart sshd
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == "CentOS"
|
- ansible_distribution == "Rocky"
|
||||||
- ansible_distribution_version is version_compare("8", ">=")
|
- ansible_distribution_version | int == 8
|
||||||
|
|
||||||
- name: Tighten ssh kex algorithm
|
- name: Tighten ssh kex algorithm
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
|
Loading…
Add table
Reference in a new issue