Perhaps a better way would be to simplify your architecture.

Ansible tower has "provisioning callbacks", which allow a node to phone
out, say "go configure me now" and there are full details available via the
GUI and REST API.

http://www.ansible.com/tower

This is a node raising it's hand, so more like "pull-to-push", though we
are considering some nice integrations that would allow pure pull mode
invocations in the future.

Ansible triggering ansible-pull is also a valid use case :)



On Thu, Oct 30, 2014 at 8:16 AM, Matt Martz <[email protected]> wrote:

> You should look into using a callback plugin.  There are a few examples at:
>
> https://github.com/ansible/ansible/tree/devel/plugins/callbacks
>
> Also see:
>
> http://docs.ansible.com/developing_plugins.html#callbacks
>
>
> On Thursday, October 30, 2014, Nicolas G <[email protected]> wrote:
>
>> Hi,
>>
>> One of the benefits of running Ansible in push mode is that you can see
>> exactly when and what task have failed. I'm planning to use ansible in pull
>> mode and I would like to know when a task have failed in pull mode by
>> getting a notification.
>>
>> Is that possible ?
>>
>> Regards,
>> N.
>>
>> --
>> 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/47f75158-2456-40e9-8593-c6bce69e7d57%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/47f75158-2456-40e9-8593-c6bce69e7d57%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Matt Martz
> @sivel
> sivel.net
>
>  --
> 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/CAD8N0v-hyZU9VEN3gLexBAA9RuhhkPET_8tx2KOm3Kb1mt4o2w%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAD8N0v-hyZU9VEN3gLexBAA9RuhhkPET_8tx2KOm3Kb1mt4o2w%40mail.gmail.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%2BnsWgwfaZQqYK6n1nY-rd%2B%3DCLh3eiW9UVWwCCgdQGfsNf%2BewQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to