another solution is to group your hosts in a role (or several roles) and loop through them. Fabric naturally does this for you
e.g.: env.roledefs = { 'group1': ['server1', 'server2', 'server3'] } @roles('group1') def somefunction(): put('file','destination') -- ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ ¤ kyoboku kazeoshi ¤ ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ _______________________________________________ Fab-user mailing list Fab-user@nongnu.org http://lists.nongnu.org/mailman/listinfo/fab-user