I’m getting a pretty cryptic stack trace from the latest Ansible built from src (like 10 mins ago):
Traceback (most recent call last):
File “/usr/local/share/python/ansible-playbook”, line 268, in
sys.exit(main(sys.argv[1:]))
File “/usr/local/share/python/ansible-playbook”, line 208, in main
pb.run()
File “/usr/local/lib/python2.7/site-packages/ansible/playbook/init.py”, line 228, in run
play = Play(self, play_ds, play_basedir)
File “/usr/local/lib/python2.7/site-packages/ansible/playbook/play.py”, line 80, in init
ds = self._load_roles(self.roles, ds)
File “/usr/local/lib/python2.7/site-packages/ansible/playbook/play.py”, line 288, in _load_roles
roles = self._build_role_dependencies(roles, , self.vars)
File “/usr/local/lib/python2.7/site-packages/ansible/playbook/play.py”, line 178, in _build_role_dependencies
defaults_data = utils.parse_yaml_from_file(defaults)
File “/usr/local/lib/python2.7/site-packages/ansible/utils/init.py”, line 419, in parse_yaml_from_file
process_yaml_error(exc, data, path)
File “/usr/local/lib/python2.7/site-packages/ansible/utils/init.py”, line 397, in process_yaml_error
msg = process_common_errors(msg, probline, mark.column)
File “/usr/local/lib/python2.7/site-packages/ansible/utils/init.py”, line 358, in process_common_errors
elif len(probline) and probline[column] == “:” and probline.find(“=”) != -1:
IndexError: string index out of range
Where should I start debugging this? I guess there’s a YAML problem here, but it’s pretty cryptic. I suppose I’ll go through my YAML and attempt to self-parse.