ssh-hardening/tasks/restrictions_crypto_policy.yml

13 lines
250 B
YAML
Raw Normal View History

2021-10-11 20:58:09 +00:00
---
- name: Write new crypto policies
template:
src: 'crypto-policies/opensshserver.config.j2'
2021-10-11 20:58:09 +00:00
dest: /etc/crypto-policies/back-ends/opensshserver.config
owner: root
group: root
mode: 0644
backup: yes
notify: Restart SSH