Ansible Lint / Ansible Lint (push) Successful in 1m4s
Details
gitleaks / gitleaks (push) Failing after 9s
Details
|
||
---|---|---|
.gitea/workflows | ||
data | ||
group_vars/proxmox_vms | ||
host_vars | ||
playbooks | ||
roles | ||
.ansible-lint | ||
.drone.yml | ||
README.md | ||
ansible.cfg | ||
hosts | ||
vault.sh | ||
vault_check.sh |
README.md
Ansible configuration
This repository contains all my LAN configuration, done with Ansible
I've only been working with Ansible since April 2023, so there's probably a lot of errors, but i kinda like the way it works
Before, i was using essentially Docker compose files which are, well, quite a mess for a lot of reasons.
The way i got all my configuration (and not only Docker ones) ready into one file, and the ability to do much more than simply deploy containers is a real time-changer
My hosts
A long moment, i used an Openmediavault OS installed directly on my server, and i pushed all my containers & services into it. Recently, i decided to change that, and instead, use Proxmox Virtual Environment to separate machines & usages.
Here's the hardware config :
-
Asus Z170 Pro gaming
-
Intel Core i5 5600T (4C/4T)
-
32GB DDR4 2100MHz
-
System SSD for PVE : 128Go
-
1To SSD NVME on a PCIe slot for storing VMs disks
-
Raid 1 : 2x4To (md0)
-
Raid 0 : 3x1To (md1)
Here's a table with my VMs, usage, main containers, and specifications.
VM Name | VM ID | CPU | RAM | GPU Passtrough | Containers |
---|---|---|---|---|---|
vm-docker-network | 104 | 1C | 2Go | No | - AdguardHome - iVentoy (PXE Boot) |
vm-docker-master | 111 | 2C | 4Go | No | - Traefik - Nextcloud + Collabora Online (CODE) - Gitea + Act Runner - Vaultwarden - Grafana + Prometheus + Loki |
vm-mailcow | 112 | 2C | 6Go | No | - Mailcow-dockerized stack (Disabled ClamAV as i don't have ehnough RAM, will turn it on later) |
vm-docker-media | 113 | 2C | 8Go | Yes (GTX970) | - Jellyfin + jfa-go - Immich & all related containers - Transmission (one for downloading, and 1 for seeding my torrents) |
vm-docker-databases | 114 | 2C | 4Go | No | - MariaDB - Redis - MongoDB - PostgreSQL - InfluxDB - PhpMyAdmin |
Promtail is installed on every VM & on PVE host, to send every logs on a grafana dashboard.
Todo :
-
Replace md1 raid with 2x4To HDDs
-
Add another raid of 2x4To HDDs
-
Add another 1To NVME SSD to ensure a mirroring of my VMs disks
-
Replace CPU with a 8C/16T one
-
Upgrade RAM to 64Go
Software improvements to do
-
Make every container rootless & with her own user
-
Learn Kubernetes and use it instead of separate docker
-
Waiting for Fiber : Ensure backups are stored on a cloud
-
Rsyslog every logs on my vm-docker-master -> Done with a Promtail + Loki stack