Revert "Apply templating to module arguments in playbook"

Breaks copy module by introducing unicodeness, among other things

This reverts commit 4fedb17e38.
This commit is contained in:
Michael DeHaan 2012-08-01 23:06:50 -04:00
parent a015c2e581
commit c192d8a2b2

View file

@ -83,8 +83,7 @@ class Task(object):
import_tags = import_tags.split(",")
self.name = utils.template(self.name, self.module_vars)
self.action = utils.template(self.action, self.module_vars)
self.module_args = utils.template(self.module_args, self.module_vars)
self.action = utils.template(self.name, self.module_vars)
# handle mutually incompatible options
if self.with_items is not None and self.first_available_file is not None: