ansible-role-server/tasks/setup.yml

13 lines
243 B
YAML
Raw Normal View History

---
# Server/Setup: Generic Setup Tasks (sshd)
# SSH
- name: setup - Copy sshd_config
become: yes
template:
src: "{{ role_path }}/templates/sshd_config.j2"
dest: "/etc/ssh/sshd_config"
backup: yes
notify:
2019-11-12 20:34:35 +00:00
- Restart sshd