Accessing variables from within a plugin (callback)

Hello list,

is there a way how I can access host/group vars from within a callback plugin? Basically I want to modify the Hipchat callback plugin to use a room ID configured via group_vars (or maybe registered as a var right in the role tasks), as we have hundred of chat rooms and to which room a message will be sent would depend on the role.

Thanks,
Daniel

Can you please repost this on ansible-devel?

Thanks!

Sorry for picking the wrong list. I reposted in ansible-devel now: https://groups.google.com/forum/#!topic/ansible-devel/oWglrylu1xM

Thanks,
Daniel