Files
operating-automation/roles/manage-ssh-keys/tasks/validate-keys.yml
2024-11-21 16:05:54 +01:00

8 lines
213 B
YAML

---
- name: Stelle sicher, dass das .ssh-Verzeichnis existiert
file:
path: "{{ authorized_keys_file | dirname }}"
state: directory
owner: "{{ ssh_user }}"
group: "{{ ssh_user }}"
mode: '0700'