mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 10:22:54 +02:00
11 lines
225 B
YAML
11 lines
225 B
YAML
---
|
|
- name: Deploy hardened sshd config
|
|
ansible.builtin.template:
|
|
src: sshd_config.j2
|
|
dest: /etc/ssh/sshd_config
|
|
owner: root
|
|
group: root
|
|
mode: "0600"
|
|
validate: "sshd -t -f %s"
|
|
notify: restart sshd
|