Ansible_workstation/tasks/ssh.yml
2018-08-24 10:13:15 +02:00

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