Created
November 27, 2014 16:42
-
-
Save dalekurt/072d4d695b6d2777dd20 to your computer and use it in GitHub Desktop.
Ansible-error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible -m ping -u ubuntu all | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/ansible/1.8.1/libexec/bin/ansible", line 194, in <module> | |
(runner, results) = cli.run(options, args) | |
File "/usr/local/Cellar/ansible/1.8.1/libexec/bin/ansible", line 112, in run | |
inventory_manager = inventory.Inventory(options.inventory, vault_password=vault_pass) | |
File "/usr/local/Cellar/ansible/1.8.1/libexec/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 118, in __init__ | |
self.parser = InventoryScript(filename=host_list) | |
File "/usr/local/Cellar/ansible/1.8.1/libexec/lib/python2.7/site-packages/ansible/inventory/script.py", line 49, in __init__ | |
self.groups = self._parse(stderr) | |
File "/usr/local/Cellar/ansible/1.8.1/libexec/lib/python2.7/site-packages/ansible/inventory/script.py", line 57, in _parse | |
self.raw = utils.parse_json(self.data) | |
File "/usr/local/Cellar/ansible/1.8.1/libexec/lib/python2.7/site-packages/ansible/utils/__init__.py", line 552, in parse_json | |
results = json.loads(data) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads | |
return _default_decoder.decode(s) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 383, in raw_decode | |
raise ValueError("No JSON object could be decoded") | |
ValueError: No JSON object could be decoded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment