diff options
author | Toshio くらとみ <toshio@batcave01.phx2.fedoraproject.org> | 2016-01-30 05:17:55 +0000 |
---|---|---|
committer | Toshio くらとみ <toshio@batcave01.phx2.fedoraproject.org> | 2016-01-30 05:17:55 +0000 |
commit | 3e0266f612661683823e3ec988c551d9301f0d44 (patch) | |
tree | 71f65d66de9ca7ad3a9b3c808f4843aadf276650 /callback_plugins | |
parent | 998e9cc4ecccbaee402eada2ff3969d54d45f7f0 (diff) | |
download | ansible-3e0266f612661683823e3ec988c551d9301f0d44.tar.gz ansible-3e0266f612661683823e3ec988c551d9301f0d44.tar.xz ansible-3e0266f612661683823e3ec988c551d9301f0d44.zip |
Introspect to see what attributes are available to us
Diffstat (limited to 'callback_plugins')
-rw-r--r-- | callback_plugins/fedmsg_callback2.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/callback_plugins/fedmsg_callback2.py b/callback_plugins/fedmsg_callback2.py index 9cc7126a5..e2ba924d7 100644 --- a/callback_plugins/fedmsg_callback2.py +++ b/callback_plugins/fedmsg_callback2.py @@ -67,10 +67,14 @@ class CallbackModule(CallbackBase): def v2_playbook_on_start(self, playbook): self.playbook = playbook + import q ; q.q(playbook) + import q ; q.q(dir(playbook)) 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(play) + import q ; q.q(dir(play)) if self.playbook: # figure out where the playbook FILE is path = os.path.abspath(self.playbook.filename) |