13 lines
212 B
YAML
13 lines
212 B
YAML
---
|
|
- name: Copy sshd_config
|
|
template:
|
|
src: files/sshd_config
|
|
dest: /etc/ssh/sshd_config
|
|
notify: restart sshd
|
|
|
|
- name: Enable SSH daemon
|
|
service:
|
|
name: sshd
|
|
state: started
|
|
enabled: yes
|