ssh-hardening/tasks/restrictions_crypto_policy_include.yml
Sven Velt 70ab8d6e28 Big update to support RHEL9 & clones
Now crypto-policies include SSH options (not command line arguments)
2023-03-20 20:32:35 +01:00

13 lines
252 B
YAML

---
- name: Write restrictions to crypto-policy file
template:
src: 'sshd_config_hardening.j2'
dest: '/etc/crypto-policies/back-ends/opensshserver.config'
owner: root
group: root
mode: 0600
backup: yes
notify: Restart SSH