On Mon, Feb 7, 2011 at 5:35 PM, Jeff Forcier <j...@bitprophet.org> wrote: > > Xavier's correct, env.hosts updates will only affect tasks that run > later on, so it only makes sense to update env.hosts outside of a task > function (i.e. at module level), or in an env-setting task which you > run prior to running other tasks (i.e. fab set_my_hosts do_some_work). > > See also http://docs.fabfile.org/0.9.3/usage/execution.html#connections > > -Jeff
Thanks got it working, I updated it outside the task like your mentioning in your mail. _______________________________________________ Fab-user mailing list Fab-user@nongnu.org http://lists.nongnu.org/mailman/listinfo/fab-user