the callback way looks good,
i just need some sort of CustomAggregateStats
but what is the best way to call a custom module (write_log_to_server) from 
the callback?
(with the current settings and inventory, just exactly like when i call it 
from playbook 


Am Dienstag, 26. Mai 2015 07:52:14 UTC+2 schrieb Jeff Reter:
>
> Thanks.
> So there is currently no way to get the name of the playbook in a module?
>
> i though callbacks are for local "actions", so i can this for an "after 
> all" remote action, or even call a module from a callback?
>
>
> Am Freitag, 22. Mai 2015 19:24:54 UTC+2 schrieb Brian Coca:
>>
>> A module will probably not solve this issue (you can try using 
>> template), you might want to designate a ansible host from which 
>> everyone must execute, or make a log aggregation callback plugin 
>> mandatory (check syslog_json plugin). 
>>
>> Also this is the kind of feature (auditing, reporting, etc) Tower is 
>> for http://ansible.com/tower 
>>
>

-- 
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/59094730-a34f-4efb-9e9f-09cc673b3612%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to