Restructured role manage-ssh-keys
This commit is contained in:
8
roles/manage-ssh-keys/tasks/validate-keys.yml
Normal file
8
roles/manage-ssh-keys/tasks/validate-keys.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Stelle sicher, dass das .ssh-Verzeichnis existiert
|
||||
file:
|
||||
path: "{{ authorized_keys_file | dirname }}"
|
||||
state: directory
|
||||
owner: "{{ ssh_user }}"
|
||||
group: "{{ ssh_user }}"
|
||||
mode: '0700'
|
||||
Reference in New Issue
Block a user