this post was submitted on 22 Feb 2025
67 points (98.6% liked)
Programming
18439 readers
609 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I like the idea, but I wouldn't really know how to put it into practice. It works quite well, if you're using Python to automate, but if you're using more dedicated tooling for CI/CD automation (à la Ansible, Puppet etc.) then those tend to not really have a way to pause execution until a user input happens. It's kind of anti-thetical to their end goal...
I guess, you could have a Python or Bash script, where each function just calls an Ansible task and once you've automated a chunk, you replace that with an Ansible playbook. But yeah, really not sure, if that's terribly sexy in practice.
Highly recommend having some scripting/interpreted language in your stack -- in fact you likely already do (consider how shell scripting makes up a significant part of Dockerfiles)
It's an incredibly useful intermediate between freeform-but-non-executable text/docs/wikis and "industrial-grade"-but-inflexible tooling
In other words, a great fit for capturing this partial/incomplete/tribal knowledge space the post is talking about. I personally even go a bit further and actively advocate for converting "onboarding/operational docs" from wikis into scripts that print out the equivalent text that can be committed and incrementally automated.