fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Hook into when task completes successfully on all hosts?


From: Jens Rantil
Subject: Re: [Fab-user] Hook into when task completes successfully on all hosts?
Date: Sun, 3 Mar 2013 14:03:22 +0100

Hi James,

Yes, that's correct, as long as you don't use the command line flag -w/--warn-only.

This might also be of interest to you: http://docs.fabfile.org/en/1.6/usage/execution.html#failure-handling

Cheers,
Jens

On Sunday, March 3, 2013, James Carr wrote:
I think I get. So basically the final task won't get called if the
first one fails, correct?


Thanks,
James


On Sat, Mar 2, 2013 at 5:30 PM, Jens Rantil <address@hidden> wrote:
> Hi James,
>
> You could look into using
> http://fabric.readthedocs.org/en/1.6/api/core/tasks.html#fabric.tasks.execute
> to call one task from another. Another way of doing things is simple to
> execute multiple tasks from command line, like so:
>
> $ fab mytask all_success_task
>
> Did I make myself clear?
>
> - Jens
>
>
> On Fri, Mar 1, 2013 at 5:46 PM, James Carr <address@hidden> wrote:
>>
>> Hey all,
>>
>> I'd like to hook into when a task completes successfully on all hosts
>> so I can do some post-task reporting. Is there any clean way to do
>> this?
>>
>> Thanks,
>> James
>>
>> _______________________________________________
>> Fab-user mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/fab-user
>
>
>
>
> --
> Want to know how full my inbox is? Or how to get in touch with me faster? Or
> tell me your e-mail is not that important? Then check this out:
> http://courteous.ly/4WtfZY


--
Want to know how full my inbox is? Or how to get in touch with me faster? Or tell me your e-mail is not that important? Then check this out: http://courteous.ly/4WtfZY

reply via email to

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