move callbacks to seperate file, anticipating callbacks for Runner() as well

This commit is contained in:
Michael DeHaan 2012-03-21 22:18:57 -04:00
parent 7883f414ce
commit 7ed734dfb2
3 changed files with 83 additions and 60 deletions

View file

@ -301,7 +301,7 @@ class Runner(object):
# needed for the setup module
args = " ".join([ "\"%s\"" % str(x) for x in module_args ])
else:
args = " ".join([ str(x) for x in module_args ])
args = " ".join([ str(x) for x in module_args ])
# by default the args to substitute in the action line are those from the setup cache
inject_vars = self.setup_cache.get(conn.host,{})