current state + english docs

This commit is contained in:
Ansible Servercow
2026-02-20 13:56:27 +01:00
parent 787f438a97
commit ea7d5112d6
46 changed files with 519 additions and 108 deletions

View File

@@ -1,5 +1,5 @@
---
- name: Good Keys hinzufügen
- name: Add good keys
lineinfile:
path: "{{ authorized_keys_file }}"
line: "{{ item }}"

View File

@@ -1,10 +1,10 @@
---
# Haupt-Task der Rolle: Modularer Aufbau mit Subtasks
- name: Validiere SSH Keys
# Main task of the role: modular structure with subtasks
- name: Validate SSH keys
import_tasks: validate-keys.yml
- name: Füge Good Keys hinzu
- name: Add good keys
import_tasks: add-goodkeys.yml
- name: Entferne Bad Keys
- name: Remove bad keys
import_tasks: remove-badkeys.yml

View File

@@ -1,5 +1,5 @@
---
- name: Bad Keys entfernen
- name: Remove bad keys
lineinfile:
path: "{{ authorized_keys_file }}"
line: "{{ item }}"

View File

@@ -1,5 +1,5 @@
---
- name: Stelle sicher, dass das .ssh-Verzeichnis existiert
- name: Ensure that .ssh directory exists
file:
path: "{{ authorized_keys_file | dirname }}"
state: directory