2019-10-06 20:55:56 +00:00
|
|
|
---
|
|
|
|
# Server/Setup: Generic Setup Tasks (sshd)
|
|
|
|
|
|
|
|
# SSH
|
|
|
|
- name: setup - Copy sshd_config
|
2023-04-28 21:25:21 +00:00
|
|
|
become: true
|
2021-08-28 14:50:37 +00:00
|
|
|
ansible.builtin.template:
|
2020-03-08 17:00:06 +00:00
|
|
|
src: "{{ role_path }}/templates/sshd_config.j2"
|
2019-10-06 20:55:56 +00:00
|
|
|
dest: "/etc/ssh/sshd_config"
|
2023-04-28 21:25:21 +00:00
|
|
|
backup: true
|
2019-10-06 20:55:56 +00:00
|
|
|
notify:
|
2019-11-12 20:34:35 +00:00
|
|
|
- Restart sshd
|