this post was submitted on 07 May 2024
10 points (100.0% liked)

Ansible

232 readers
1 users here now

# TODO

founded 1 year ago
MODERATORS
 

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 ๐Ÿ˜…

top 4 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 1 month ago (1 children)

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.

[โ€“] [email protected] 1 points 1 month ago (1 children)

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.

[โ€“] [email protected] 2 points 1 month ago (1 children)

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!

[โ€“] [email protected] 1 points 1 month ago

True. They certainly helped speed up my learning process.