70ab8d6e28
Now crypto-policies include SSH options (not command line arguments)
13 lines
252 B
YAML
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
|
|
|
|
|