Commit b89d8db7 by Matthew Williams

removed debug code

parent efde61e5
...@@ -433,7 +433,6 @@ class Runner(object): ...@@ -433,7 +433,6 @@ class Runner(object):
# apply templating to source argument # apply templating to source argument
inject = self.setup_cache.get(conn.host,{}) inject = self.setup_cache.get(conn.host,{})
print source
source = utils.template(source, inject, self.setup_cache) source = utils.template(source, inject, self.setup_cache)
# files are saved in dest dir, with a subdir for each host, then the filename # files are saved in dest dir, with a subdir for each host, then the filename
...@@ -513,7 +512,6 @@ class Runner(object): ...@@ -513,7 +512,6 @@ class Runner(object):
source = utils.template(source, inject, self.setup_cache) source = utils.template(source, inject, self.setup_cache)
print source
(host, ok, data, err) = (None, None, None, None) (host, ok, data, err) = (None, None, None, None)
if not self.is_playbook: if not self.is_playbook:
...@@ -545,7 +543,6 @@ class Runner(object): ...@@ -545,7 +543,6 @@ class Runner(object):
# template the source data locally # template the source data locally
source_data = codecs.open(utils.path_dwim(self.basedir, source), encoding="utf8").read() source_data = codecs.open(utils.path_dwim(self.basedir, source), encoding="utf8").read()
print source_data
resultant = '' resultant = ''
try: try:
resultant = utils.template(source_data, inject, self.setup_cache) resultant = utils.template(source_data, inject, self.setup_cache)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment