Hi Guys,
Any know why I get this error?
ansible-playbook -vv /etc/ansible/roles/env-stb/channels1.yml
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 324, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/bin/ansible-playbook", line 264, in main
pb.run()
File "/usr/lib/pymodules/python2.7/ansible/playbook/__init__.py", line
310, in run
play = Play(self, play_ds, play_basedir,
vault_password=self.vault_password)
File "/usr/lib/pymodules/python2.7/ansible/playbook/play.py", line 103,
in __init__
ds = self._load_roles(self.roles, ds)
File "/usr/lib/pymodules/python2.7/ansible/playbook/play.py", line 440,
in _load_roles
roles = self._build_role_dependencies(roles, [], {})
File "/usr/lib/pymodules/python2.7/ansible/playbook/play.py", line 274,
in _build_role_dependencies
defaults_data = utils.parse_yaml_from_file(defaults,
vault_password=self.vault_password)
File "/usr/lib/pymodules/python2.7/ansible/utils/__init__.py", line 780,
in parse_yaml_from_file
process_yaml_error(exc, data, path, show_content)
File "/usr/lib/pymodules/python2.7/ansible/utils/__init__.py", line 706,
in process_yaml_error
probline = data.split("\n")[mark.line]
IndexError: list index out of range
Run in ansible 1.9.2
My playbook is really simple:
---
# Default roles for all the servers.
- hosts: stb-channels1
roles:
- jdk7
- tomcat7
- tomcat7-desktop-webserver
- tomcat7-mobile-banking-server
- tomcat7-mobile-banking-portal
- tomcat7-tas-banking-server
- tomcat7-tas-banking-portal
Some advice?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b47efc4f-9bb3-4e39-8166-e86381df50f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.