Files
operating-automation/roles/manage-ssh-keys/tasks/validate-keys.yml
2026-02-20 13:56:27 +01:00

8 lines
196 B
YAML

---
- name: Ensure that .ssh directory exists
file:
path: "{{ authorized_keys_file | dirname }}"
state: directory
owner: "{{ ssh_user }}"
group: "{{ ssh_user }}"
mode: '0700'