"but  the idea is to set callback based on some variable that will then
selectively enable callback or not during the execution of a play"

You could do some checks in the body of the callback functions that make
the callbacks a no-op.




On Thu, May 15, 2014 at 9:30 AM, DomaNitro <[email protected]> wrote:

> Thats what i do at the moment, but  the idea is to set callback based on
> some variable that will then selectively enable callback or not during the
> execution of a play.  So for examples on development deployment we do not
> need callback functionality on production we might need or while debugging.
>
>
> I have not digged into the code but i think the hooks are done before
> execution and might make my request hard to achieve easily.
>
> On Thursday, May 15, 2014 9:51:10 AM UTC+2, DomaNitro wrote:
>>
>> Hey,
>>
>> Is it possible to have play set a callback or that has to be done before
>> the execution ?
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/30bff91b-a25b-423c-a690-c147ff4969da%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/30bff91b-a25b-423c-a690-c147ff4969da%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgx9AdN54Yt9HqijByLedi4pbrPMXvimxK14hUgTXNt99A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to