Hi,

I tried to provision instance on azure (ansible-playbook -i 
/usr/share/pyshared/ansible/modules/core/cloud/azure/azure.py azure.yml) 
and I got the flowing error:

ERROR! The file 
/usr/share/pyshared/ansible/modules/core/cloud/azure/azure.py is marked as 
executable, but failed to execute correctly. If this is not supposed to be 
an executable script, correct this with `chmod -x 
/usr/share/pyshared/ansible/modules/core/cloud/azure/azure.py`.
ERROR! Inventory script 
(/usr/share/pyshared/ansible/modules/core/cloud/azure/azure.py) had an 
execution error: Traceback (most recent call last):
  File "/usr/share/pyshared/ansible/modules/core/cloud/azure/azure.py", 
line 610, in <module>
    main()
  File "/usr/share/pyshared/ansible/modules/core/cloud/azure/azure.py", 
line 537, in main
    enable_winrm=dict(type='bool', default=True),
  File "/usr/lib/pymodules/python2.7/ansible/module_utils/basic.py", line 
528, in __init__
    self.params = self._load_params()
  File "/usr/lib/pymodules/python2.7/ansible/module_utils/basic.py", line 
1389, in _load_params
    params = json_dict_unicode_to_bytes(json.loads(MODULE_COMPLEX_ARGS))
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded



Help!!!

-- 
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/9a95db5e-e8d0-4a5a-aad3-6642b0ae98cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to