Let the callbacks see the playbook and (current) runner objects.

This commit is contained in:
Michael DeHaan
2013-03-25 22:47:06 -04:00
parent b0a64973b6
commit 0d11f53eff
2 changed files with 5 additions and 0 deletions

View File

@@ -157,6 +157,8 @@ class Runner(object):
self.environment = environment
self.complex_args = complex_args
self.callbacks.runner = self
# misc housekeeping
if subset and self.inventory._subset is None:
# don't override subset when passed from playbook