20
submitted 1 year ago by arkhos@lemmy.ml to c/selfhosted@lemmy.world

Hello selfhosters!

I'v small homeServer (Dell Wyse 5070) and I'm thinking about upgrade of main SSD M.2 storage.

Currently most of my services are docker containers. During upgrade I want to refresh whole setup and learn ansible a bit during the process.

I've got few services that I want to avoid to stop for hours/days which could take me to set the whole server from scratch in the new way (NextCloud, Home Assistant, Matrix), all of them used locally (trough Tailscale) by my family.

I'm thinkging about keeping them running, by connecting old SSD M.2 drive to my laptop and run inside VM. Do you think that will be doable / what kind of troubles I can get through that process? Asking about that "keeping services on my laptop" think. With refresh of server it will of course be the journey with troubles, but I will have time for that, when crucial services will be running on different machine.

you are viewing a single comment's thread
view the rest of the comments
[-] PuppyOSAndCoffee@lemmy.ml 1 points 1 year ago

how many devices do you need to update?

ansible wants to have a home base and an inventory of devices to manage. for example, if you have a flock of Rasberry Pi's and a server stashed under a desk somewhere, yes, ansible is 100% going to simplify your life.

ansible mgmt from a device to that same device.... It might be just as easy to make backups and track your file deltas. the temptation is to use ansible so you remember what changes you made, but it can be a pia when you need to do a quick shift and have to go thru the playbook (unless you have playbooks on the ready).

[-] arkhos@lemmy.ml 2 points 1 year ago

I've got personal laptop + mentioned Dell Wyse 5070. In near future (months) I'm thinking about extending to another home server client.

I know using ansible in that scenario will be somehow harder than direct ssh, but I want mainly to learn the process (for future work possibilities) and have that extended control of the changes on the bare OS.

[-] PuppyOSAndCoffee@lemmy.ml 2 points 1 year ago

Awesome, go for it! ansible (more or less) is directed ssh. inventory, role, playbooks + templates, etc; for learning, definitely go for it! if you were to roll your own automation framework, you'd end up w/ansible.

this post was submitted on 30 Sep 2023
20 points (91.7% liked)

Selfhosted

40246 readers
822 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS