From c192d8a2b25f1df7471a90c2a5974ce279c444f3 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 1 Aug 2012 23:06:50 -0400 Subject: [PATCH] Revert "Apply templating to module arguments in playbook" Breaks copy module by introducing unicodeness, among other things This reverts commit 4fedb17e3828faa9c50db612ba1c18af4aa9259d. --- lib/ansible/playbook/task.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py index 30f5f966a5..8ecebf1070 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.py @@ -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: