wintermelons / homelab

Configuration of my home servers.
MIT License
0 stars 0 forks source link

Set up an Ansible workflow with the home servers #2

Open wintermelons opened 1 month ago

wintermelons commented 1 month ago

Ansible is useful in managing multiple servers at once, and storing configuration as code. The idea is to write Ansible playbooks and check them into the repo, and later on, we can look to set up a CI pipeline to automatically deploy them over to the homelab machines.

This ticket tracks the work but more research is needed.

fshrr commented 1 month ago

Possible useful structure for a modular ansible workflow: Ansible allows for creating subplaybook that can be imported. So it would be ideal to create subplaybooks for individual applications and then import them into a main playbook. Subplaybooks can be run on their own whereas tasks imports cannot be.

fshrr commented 1 week ago

What if we use nixos?

i have come across it in the past but didn't really look into it. It seems to do what ansible would do but by design. I am going to put some links here that I will investigate.

wintermelons commented 1 week ago

I'm open to NixOS. I came across it in the past but at the time I just wanted the servers online. We can look to reimage them with NixOS. Let's track that in #5