12 lines
268 B
YAML
12 lines
268 B
YAML
# vim: ft=yaml.ansible
|
|
# code: language=ansible
|
|
---
|
|
- name: Copy sshd_config
|
|
ansible.builtin.template:
|
|
src: etc/ssh/sshd_config.j2
|
|
dest: /etc/ssh/sshd_config
|
|
owner: root
|
|
mode: u=rw,g=r,o=r
|
|
validate: /usr/sbin/sshd -t -f %s
|
|
notify: Restart sshd
|