1 hour ago · Tech · hide · 0 comments

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.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.