From 89eec9b7afe5a0c94361e6cd13fc7c2a3d820ec9 Mon Sep 17 00:00:00 2001 From: Toshio くらとみ Date: Sat, 30 Jan 2016 06:04:49 +0000 Subject: Some more attribute fixups --- callback_plugins/fedmsg_callback2.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'callback_plugins/fedmsg_callback2.py') diff --git a/callback_plugins/fedmsg_callback2.py b/callback_plugins/fedmsg_callback2.py index a2399d041..964d80597 100644 --- a/callback_plugins/fedmsg_callback2.py +++ b/callback_plugins/fedmsg_callback2.py @@ -79,6 +79,12 @@ class CallbackModule(CallbackBase): def v2_playbook_on_play_start(self, play): # This gets called once for each play.. but we just issue a message once # for the first one. One per "playbook" + import q ; q.q(self.play_context) + import q ; q.q(type(self.play_context)) + import q ; q.q(dir(self.play_context)) + import q ; q.q(play.vars) + import q ; q.q(type(play.vars)) + import q ; q.q(dir(play.vars)) if self.playbook: # figure out where the playbook FILE is path = os.path.abspath(self.playbook._file_name) @@ -93,8 +99,8 @@ class CallbackModule(CallbackBase): msg=dict( playbook=path, userid=getlogin(), - extra_vars=play.vars.extra_vars, - inventory=play.vars._inventory.src(), + #extra_vars=play.vars.extra_vars, + #inventory=play.vars._inventory.src(), playbook_checksum=secure_hash(path), check=self.play_context.check_mode, ), -- cgit