Skip to content

Instantly share code, notes, and snippets.

@rektide
Created April 16, 2013 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rektide/5392483 to your computer and use it in GitHub Desktop.
Save rektide/5392483 to your computer and use it in GitHub Desktop.
TASK: [file path=/srv/${NAME.stdout}/ state=directory mode=770] ***************
fatal: [127.0.0.1] => Traceback (most recent call last):
File "/home/rektide/archive/ansible/lib/ansible/runner/__init__.py", line 320, in _executor
exec_rc = self._executor_internal(host)
File "/home/rektide/archive/ansible/lib/ansible/runner/__init__.py", line 374, in _executor_internal
items = utils.plugins.lookup_loader.get(items_plugin, runner=self, basedir=self.basedir).run(items_terms, inject=inject)
File "/home/rektide/archive/ansible/lib/ansible/runner/lookup_plugins/items.py", line 43, in run
terms = template.template(self.basedir, terms, inject)
File "/home/rektide/archive/ansible/lib/ansible/utils/template.py", line 255, in template
varname = template_from_string(basedir, varname, vars)
File "/home/rektide/archive/ansible/lib/ansible/utils/template.py", line 463, in template_from_string
t = environment.from_string(data)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 769, in from_string
return cls.from_code(self, self.compile(source), globals, None)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 493, in compile
self.handle_exception(exc_info, source_hint=source)
File "<unknown>", line 1, in template
TemplateSyntaxError: unexpected char u'$' at 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment