blob: f9131e9ad55dea57d4809bc99def1f609b514e83 (
plain) (
tree)
|
|
- name: generate sshd configuration
template:
src: sshd_config.j2
dest: /etc/ssh/sshd_config
owner: 0
group: 0
mode: 0644
- name: enabled and restart sshd
service:
name: sshd
state: restarted
enabled: true
- name: check ssh connection
wait_for:
port: 22
delay: 1
state: started
|