ssh-hardening/tasks/restrictions_crypto_policy.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
250 B
YAML

---
- name: Write new crypto policies
template:
src: 'crypto-policies/opensshserver.config.j2'
dest: /etc/crypto-policies/back-ends/opensshserver.config
owner: root
group: root
mode: 0644
backup: yes
notify: Restart SSH