Ansible playbooks to manage Linux and FreeBSD servers.
- Shell 90.2%
- Dockerfile 9.8%
| .forgejo | ||
| group_vars | ||
| roles | ||
| .gitignore | ||
| Dockerfile | ||
| inventory.yaml | ||
| LICENSE | ||
| playbook.yaml | ||
| README.md | ||
| setup_ansible_user.sh | ||
Playbook System
Ansible Playbook with tasks to administrate the system.
Setup
Ansible User einrichten
Automatisches Setup-Script für neue Server (Linux & FreeBSD kompatibel):
# Remote
curl -sSL https://git.gamerboy59.dev/gitea_admin/server_maintenance/raw/branch/main/setup_ansible_user.sh | sh
# Lokal
curl -sSL http://forgejo-16-1769363147-http.forgejo.svc.cluster.local:3000/gitea_admin/server_maintenance/raw/branch/main/setup_ansible_user.sh | sh
Hinweis: Muss als Root ausgeführt werden.
Das Script erstellt den ansible Benutzer mit passwordless sudo/doas und SSH-Key Authentifizierung.