Add ssh configuration

This commit is contained in:
Sonny Bakker 2021-10-27 14:03:18 +02:00
parent 5df9d8684d
commit b412ddf42d
3 changed files with 138 additions and 1 deletions

View file

@ -7,3 +7,13 @@
group: root
mode: '0644'
notify: restart nftables
- name: copy ssh template
become: true
template:
src: 'templates/ssh.j2'
dest: '/etc/ssh/sshd_config'
owner: root
group: root
mode: '0644'
notify: reload ssh