- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
cross-posted from: https://lemmy.dbzer0.com/post/19839436
After getting fed up with TrueNAS (after it borked itself for the third time and I would have had to set it up AGAIN) I decided to learn Ansible and write a playbook to setup my homeserver that way.
I wanted to share this playbook with you in case someone might find it useful for their own setup and maybe someone has some tips on things I could improve.
This server will not be exposed to the public/internet. If I want to access a service on it from outside my home network I have Wireguard setup on my router to connect to my home network from anywhere.
Keep in mind that I’m relatively new to sysadmin stuff etc so don’t be too harsh please 😅
I also use Ansible to automate setting up a homeserver. I like that it servers as both documentation and backup.
I’m not sure I would learn Ansible just to automate one server, but as I already learn and use Ansible at work, this was pretty efficient for me.
It took only a week to learn and a few days extra to fine tune the playbook so I’d say it was worth it and it’s definitely a useful skill to have.
Also, these days the LLMs are fairly good are writing Ansible code, but I wouldn’t expect them to be good are more architectural decisions about how to split up your project into roles or various config files-- still a useful tool to speed up the work!
True. They certainly helped speed up my learning process.