diff options
author | Lorin Hochstein <lorin@nimbisservices.com> | 2012-08-02 08:37:43 -0400 |
---|---|---|
committer | Lorin Hochstein <lorin@nimbisservices.com> | 2012-08-02 08:37:43 -0400 |
commit | aed6ee7f7444c9e4113bd9b407979e65be6e366c (patch) | |
tree | b445e1ce48f96a5ee80c518bb00257de6363f345 | |
parent | fa9fe9d246de91accde0a435c6a825193f6f0789 (diff) | |
download | ansible-aed6ee7f7444c9e4113bd9b407979e65be6e366c.tar.gz |
Report only name in task error, all on one line
-rw-r--r-- | lib/ansible/playbook/task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py index 011e4c07fd..8ecebf1070 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.py @@ -71,7 +71,7 @@ class Task(object): # split the action line into a module name + arguments tokens = self.action.split(None, 1) if len(tokens) < 1: - raise errors.AnsibleError("invalid/missing action in task.\n name: %s\n action: %s" % (self.name, self.action)) + raise errors.AnsibleError("invalid/missing action in task. name: %s" % self.name) self.module_name = tokens[0] self.module_args = '' if len(tokens) > 1: |