• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: December 5th, 2023

help-circle







  • I’ve been in love with the concept of ansible since I discovered it almost a decade ago, but I still hate how verbose it is, and how cumbersome the yaml based DSL is. You can have a role that basically does the job of 3 lines of bash and it’ll need 3 yaml files in 4 directories.

    About 3 years ago I wrote a big ansible playbook that would fully configure my home server, desktop and laptop from a minimal arch install. Then I used said playbook for my laptop and server.

    I just got a new laptop and went to look at the playbook but realised it probably needs to be updated in a few places. I got feelings of dread thinking about reading all that yaml and updating it.

    So instead I’m just gonna rewrite everything in simple python with a few helper functions. The few roles I rewrote are already so much cleaner and shorter. Should be way faster and more user friendly and maintainable.

    I’ll keep ansible for actual deployments.






  • They’d tell you what the movie was, but they’d have to search for it and don’t want to waste an hour.

    Jokes aside, I believe them, I spent close to an hour recently finding a YouTube I knew existed but I could only remember vague details. Ended up having crawl back months though my YouTube history in the end.

    It used to be that you could just describe a movie to Google like "movie where " and it would be really good at finding that movie even if it was some obscure one. Now if you’re trying to find that one movie you saw years ago where you just remember one scene, be prepared to spend that hour.