wget https://raw.github.com/ansible/ansible/devel/plugins/inventory/ec2.py
and ec2.ini using
wget https://raw.github.com/ansible/ansible/devel/plugins/inventory/ec2.ini
but have not made any mods to either file.
When I try the test command provided, I receive the following error:
-----------------
ansible@admin-staging:~/Ansible$ ansible -i ec2.py -u ubuntu us-east-1d -m ping
Traceback (most recent call last):
File "/usr/bin/ansible", line 226, in <module>
(runner, results) = cli.run(options, args)
File "/usr/bin/ansible", line 142, in run
inventory_manager = inventory.Inventory(options.inventory)
File "/usr/lib/python2.7/dist-packages/ansible/inventory/__init__.py", line 106, in __init__
self.parser = InventoryParser(filename=host_list)
File "/usr/lib/python2.7/dist-packages/ansible/inventory/ini.py", line 41, in __init__
self._parse()
File "/usr/lib/python2.7/dist-packages/ansible/inventory/ini.py", line 45, in _parse
self._parse_base_groups()
File "/usr/lib/python2.7/dist-packages/ansible/inventory/ini.py", line 83, in _parse_base_groups
tokens = shlex.split(line)
File "/usr/lib/python2.7/shlex.py", line 279, in split
return list(lex)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
-----------------
Does anyone have an idea of what may be going on here? Thanks very much for your help!
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d5446b55-a97d-4d0b-92d7-632b8c33e143%40googlegroups.com.