Accessing variables from within a plugin (callback)

56 views
Skip to first unread message

Daniel Schroeder

unread,
Jul 28, 2014, 8:17:12 AM7/28/14
to ansible...@googlegroups.com
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

Michael DeHaan

unread,
Jul 28, 2014, 10:12:51 AM7/28/14
to ansible...@googlegroups.com
Can you please repost this on ansible-devel?

Thanks!




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/06a96873-eae2-489e-8e32-8df35fde1975%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Schroeder

unread,
Jul 30, 2014, 3:10:58 AM7/30/14
to ansible...@googlegroups.com
Sorry for picking the wrong list. I reposted in ansible-devel now: https://groups.google.com/forum/#!topic/ansible-devel/oWglrylu1xM

Thanks,
Daniel
Reply all
Reply to author
Forward
0 new messages