You have a syntax error in your site.yml, probably an unterminated string.

Try http://yamllint.com maybe?

On 21 February 2017 at 06:14, Mona Gopal <[email protected]> wrote:
> Hi,
>
> ansible-playbook -i hosts site.yml -vvvv -c paramiko
> 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 157, in main
>     inventory = ansible.inventory.Inventory(options.inventory,
> vault_password=vault_pass)
>   File "/usr/lib/python2.6/site-packages/ansible/inventory/__init__.py",
> line 128, in __init__
>     self.parser = InventoryParser(filename=host_list)
>   File "/usr/lib/python2.6/site-packages/ansible/inventory/ini.py", line 43,
> in __init__
>     self._parse()
>   File "/usr/lib/python2.6/site-packages/ansible/inventory/ini.py", line 47,
> in _parse
>     self._parse_base_groups()
>   File "/usr/lib/python2.6/site-packages/ansible/inventory/ini.py", line
> 108, in _parse_base_groups
>     tokens = shlex.split(line)
>   File "/usr/lib64/python2.6/shlex.py", line 279, in split
>     return list(lex)
>   File "/usr/lib64/python2.6/shlex.py", line 269, in next
>     token = self.get_token()
>   File "/usr/lib64/python2.6/shlex.py", line 96, in get_token
>     raw = self.read_token()
>   File "/usr/lib64/python2.6/shlex.py", line 172, in read_token
>     raise ValueError, "No closing quotation"
> ValueError: No closing quotation
>
> Getting the above error while executing the playbook
> Ansible version is: 1.9.4
> Python version is: Python 2.6.6
>
> Thanks in advance,
> Mona G
>
> --
> 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/40b030a7-57b6-4fb0-baca-e3de9a6d5b84%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAK5eLPRdAhxHWywRx3qikJWjx72wteLe7JbLMpAzbBYT1UVb6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to