15 lines
324 B
YAML
15 lines
324 B
YAML
---
|
|
|
|
- name: Configure ssh-server daemon
|
|
copy:
|
|
src: ../files/hardened_sshd.conf
|
|
dest: /etc/ssh/sshd_config.d/hardened_sshd.conf
|
|
mode: u=rw,g=r,o=r
|
|
notify: restart sshd
|
|
|
|
|
|
#- name: Configure ssh client
|
|
# copy:
|
|
# src: /home/max/ansible_files/ssh_config
|
|
# dest: /etc/ssh/ssh_config
|
|
# mode: u=rw,g=r,o=r |