[2.0] tracebacks with no information?

Ansible 2.0

I’ve got a fairly large hierarchy of nested Ansible scripts.
When I run the main playbook:

$ ansible-playbook -vvvv build.yml

I get this giant traceback which contains, as far as I can see, no specific information about where in my code there
is an issue. Am I missing something here?

`
$ ansible-playbook -vvvv build.yml

Using …/config/ansible.cfg as config file
Unexpected Exception: error while splitting arguments, either an unbalanced jinja2 block or quotes
the full traceback was:

Traceback (most recent call last):
File “/usr/local/bin/ansible-playbook”, line 85, in
sys.exit(cli.run())
File “/Library/Python/2.7/site-packages/ansible/cli/playbook.py”, line 150, in run
results = pbex.run()
File “/Library/Python/2.7/site-packages/ansible/executor/playbook_executor.py”, line 79, in run
pb = Playbook.load(playbook_path, variable_manager=self._variable_manager, loader=self._loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/init.py”, line 52, in load
pb._load_playbook_data(file_name=file_name, variable_manager=variable_manager)
File “/Library/Python/2.7/site-packages/ansible/playbook/init.py”, line 86, in _load_playbook_data
pb = PlaybookInclude.load(entry, basedir=self._basedir, variable_manager=variable_manager, loader=self._loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/playbook_include.py”, line 42, in load
return PlaybookInclude().load_data(ds=data, basedir=basedir, variable_manager=variable_manager, loader=loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/playbook_include.py”, line 73, in load_data
pb._load_playbook_data(file_name=file_name, variable_manager=variable_manager)
File “/Library/Python/2.7/site-packages/ansible/playbook/init.py”, line 92, in _load_playbook_data
entry_obj = Play.load(entry, variable_manager=variable_manager, loader=self._loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/play.py”, line 109, in load
return p.load_data(data, variable_manager=variable_manager, loader=loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/base.py”, line 200, in load_data
self._attributes[name] = method(name, ds[name])
File “/Library/Python/2.7/site-packages/ansible/playbook/play.py”, line 161, in _load_tasks
return load_list_of_blocks(ds=ds, play=self, variable_manager=self._variable_manager, loader=self._loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/helpers.py”, line 50, in load_list_of_blocks
loader=loader
File “/Library/Python/2.7/site-packages/ansible/playbook/block.py”, line 75, in load
return b.load_data(data, variable_manager=variable_manager, loader=loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/base.py”, line 200, in load_data
self._attributes[name] = method(name, ds[name])
File “/Library/Python/2.7/site-packages/ansible/playbook/block.py”, line 111, in _load_block
use_handlers=self._use_handlers,
File “/Library/Python/2.7/site-packages/ansible/playbook/helpers.py”, line 97, in load_list_of_tasks
t = Task.load(task, block=block, role=role, task_include=task_include, variable_manager=variable_manager, loader=loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/task.py”, line 132, in load
return t.load_data(data, variable_manager=variable_manager, loader=loader)
File “/Library/Python/2.7/site-packages/ansible/playbook/base.py”, line 189, in load_data
ds = self.preprocess_data(ds)
File “/Library/Python/2.7/site-packages/ansible/playbook/task.py”, line 171, in preprocess_data
(action, args, delegate_to) = args_parser.parse()
File “/Library/Python/2.7/site-packages/ansible/parsing/mod_args.py”, line 290, in parse
action, args = self._normalize_parameters(value, action=action, additional_args=additional_args)
File “/Library/Python/2.7/site-packages/ansible/parsing/mod_args.py”, line 156, in _normalize_parameters
args = self._normalize_old_style_args(thing, action)
File “/Library/Python/2.7/site-packages/ansible/parsing/mod_args.py”, line 200, in _normalize_old_style_args
args = parse_kv(thing, check_raw=check_raw)
File “/Library/Python/2.7/site-packages/ansible/parsing/splitter.py”, line 60, in parse_kv
vargs = split_args(args)
File “/Library/Python/2.7/site-packages/ansible/parsing/splitter.py”, line 259, in split_args
raise Exception(“error while splitting arguments, either an unbalanced jinja2 block or quotes”)
Exception: error while splitting arguments, either an unbalanced jinja2 block or quotes
$
`

you seem to have found a bug, you should open a github issue (please
use the template) and give as simple as possible way to reproduce it.