homeserver/roles/mgrote_ssh/tasks/pve.yml
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

16 lines
321 B
YAML

---
- name: source proxmox vars
ansible.builtin.include_vars: pve.yml
- name: template sshd_config
become: true
ansible.builtin.template:
src: pve.j2
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: "0644"
validate: "/usr/sbin/sshd -T -f %s"
backup: true
notify: restart sshd