This commit is contained in:
ge
2024-09-15 14:12:48 +03:00
commit 9d7c62684f
34 changed files with 464 additions and 0 deletions

25
README.md Normal file
View File

@@ -0,0 +1,25 @@
# Ansible playbooks to setup servers
## Requirements
```
ansible-galaxy install -r requirements.yml
```
## Roles
Basic server setup:
- `hostname` Set hostname, FQDN.
- `tz` Set TZ `Europe/Moscow`.
- `locale` Generate and set locale `en_US.utf-8`.
- `packages` Install admin tools e.g. vim, tree, etc.
- `dotfiles` Add dotfiles for root and /etc/skel.
- `motd` Modify MOTD.
- `ufw` Enable UFW, allow OpenSSH rule.
- `sshd` Disable SSH authentication via passwords.
Other:
- `avahi` Install and configure Avahi daemon for mDNS.
- `docker` Install Docker Engine.