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