Being Lazy With Fabric - Part 1

I’m lazy when come to do repetitive tasks and it’s nice when machines do the work for us, specially boring ones like us sysadmins have to do daily. Example: Check if that file exists for me at N servers. Install a package on hundreds of servers. Delete a user on all servers and so on... Haven't you heard of fabric yet? Fabric is a Python library that provides automation using SSH(Paramiko), from copy files, execute tasks(normal or using sudo), prompt the user for input, deploy and whatever you can think of....

March 26, 2014 · 6 min · Danilo Fernando Chilene