Not sure what your specific problem is but there is a bunch of work being done on the Azure side of things at the moment with new modules being worked on at the moment.
Have a look at these Pull Requests on github - perhaps you can help out with testing? https://github.com/ansible/ansible/pull/15358 https://github.com/ansible/ansible/pull/15360 Hope this helps, Jon On Sunday, April 10, 2016 at 11:32:55 AM UTC+1, yaniv refael wrote: > > 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/e202f6d3-9d24-47a2-a664-40397a456881%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
