Introspect to see what attributes are available to us
This commit is contained in:
parent
998e9cc4ec
commit
3e0266f612
1 changed files with 4 additions and 0 deletions
|
@ -67,10 +67,14 @@ class CallbackModule(CallbackBase):
|
||||||
|
|
||||||
def v2_playbook_on_start(self, playbook):
|
def v2_playbook_on_start(self, playbook):
|
||||||
self.playbook = playbook
|
self.playbook = playbook
|
||||||
|
import q ; q.q(playbook)
|
||||||
|
import q ; q.q(dir(playbook))
|
||||||
|
|
||||||
def v2_playbook_on_play_start(self, play):
|
def v2_playbook_on_play_start(self, play):
|
||||||
# This gets called once for each play.. but we just issue a message once
|
# This gets called once for each play.. but we just issue a message once
|
||||||
# for the first one. One per "playbook"
|
# for the first one. One per "playbook"
|
||||||
|
import q ; q.q(play)
|
||||||
|
import q ; q.q(dir(play))
|
||||||
if self.playbook:
|
if self.playbook:
|
||||||
# figure out where the playbook FILE is
|
# figure out where the playbook FILE is
|
||||||
path = os.path.abspath(self.playbook.filename)
|
path = os.path.abspath(self.playbook.filename)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue