4 ms·
Have you seen pyinfra? Looks similar to me.
by ddorian43 3y ago
Have you seen pyinfra? Looks similar to me.
- linsomniac 3y agoI'll have to dig into that a bit, thanks for the pointer.
- linsomniac 3y agoI had that on my list to give a more thorough look-see a few months ago after it was mentioned in some discussion about fabric replacement. Thanks for putting that back on my radar. I had been wanting to leverage Ansible to get a bunch of functionality with little additional effort, but was trying to do it via direct Ansible API calls, and having no luck. I tried the same with pyinfra with similar results. However, I was able to build a shim that calls pyinfra, and I'm making wrappers to import that functionality into uPlaybook. So now I have apt and systemd and pip support that I had been wanting. The primary benefits of uPlaybook over Ansible/pyinfra/Chef, etc, are: - Playbook discoverability. (Run "up" and it'll give you a list of available playbooks an a short description of them). - Playbook arguments. (Run "up playbook --help" to get a list of CLI arguments the playbook takes. Instead of static playbooks you can have templatable plays that automate generic tasks with specializations). - Lack of boilerplate for local host operations. (You don't have to set up inventories, you just run a playbook, with the limitation that you are running locally. IOW, local operation is dead simple, like with a shell script).