fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Populating env.hosts?


From: address@hidden
Subject: Re: [Fab-user] Populating env.hosts?
Date: Tue, 8 Feb 2011 07:32:52 +0200

On Mon, Feb 7, 2011 at 5:35 PM, Jeff Forcier <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]