84 days ago · Tech · hide

I discovered Fabric, a Python-based automation framework. It’s a wrapper of Invoke and Paramiko (the Python SSH client). It’s thing is to run commands and automate tasks in remote servers. What’s the difference with Ansible? Ansible’s approach is to run remote commands in an idempotent way: running the same command should leave the system in a specific state, even if you run it repeatedly. Fabric is procedural. Both have their uses, they aren’t meant to replace each other. Now that I have several more machines to administrate, I’ve been learning just enough Ansible to get things done. But Ansible’s not good with application deployments or complex stuff with several steps and conditionals. I stumbled into Fabric and it’s great for me as I’m already quite familiar with Invoke.

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town