Add ssh configuration
This commit is contained in:
parent
5df9d8684d
commit
b412ddf42d
3 changed files with 138 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue