README.md (841B)
1 # learningunix.net Ansible 2 3 Ansible roles for configuring the learningunix.net server. 4 5 ## Requirements 6 7 - Ansible 8 - Ansible Vault password 9 10 ## Usage 11 12 Copy `inventory.ini.example` to `inventory.ini` and fill in your values. 13 14 Run the full playbook: 15 16 ``` 17 ansible-playbook -i inventory.ini site.yml --ask-vault-pass --ask-become-pass 18 ``` 19 20 Run a single role: 21 22 ``` 23 ansible-playbook -i inventory.ini site.yml --tags gitea --ask-vault-pass --ask-become-pass 24 ``` 25 26 ## Roles 27 28 | Role | Description | 29 |---|---| 30 | user | Creates a non-root user | 31 | ufw | Configures firewall rules | 32 | fail2ban | Installs and configures fail2ban | 33 | patching | Configures automatic security updates | 34 | docker | Installs Docker and Docker Compose | 35 | gitea | Deploys Gitea via Docker Compose | 36 | nginx | Configures nginx reverse proxy with SSL | 37 | hugo | Installs Hugo |