Hi,
You are looking at the ansible module. Usually those modules also need a
python library.
/Martin

On Wed 29 Jul 2015 at 18:17 <[email protected]> wrote:

> I checked and it looks like it is installed
>
> /Library/Python/2.7/site-packages/ansible/modules/core/cloud/azure
> drwxr-xr-x   6 root  wheel    204 16 Jul 11:29 .
> drwxr-xr-x  13 root  wheel    442 16 Jul 11:29 ..
> -rw-r--r--   1 root  wheel      0 16 Jul 11:28 __init__.py
> -rw-r--r--   1 root  wheel    165 16 Jul 11:29 __init__.pyc
> -rw-r--r--   1 root  wheel  19663 16 Jul 11:28 azure.py
> -rw-r--r--   1 root  wheel  16599 16 Jul 11:29 azure.pyc
>
> Is this the right place I am looking at??
>
> On Wednesday, July 29, 2015 at 12:00:05 PM UTC-4, J Hawkesworth wrote:
>>
>> Looks like to use that module, you need to install a python library
>> called 'azure'.  Looking here
>> http://docs.ansible.com/ansible/azure_module.html, it seems to need to
>> be a version later than 0.7.1
>>
>> This is probably something you can install using pip / yum / apt-get.
>>
>> Hope this helps.
>>
>> Jon
>>
>> On Wednesday, July 29, 2015 at 4:49:32 PM UTC+1, [email protected]
>> wrote:
>>>
>>> Hello,
>>>
>>> I am new to ansible and trying to create new VM in Azure with azure
>>> module but getting the error:
>>>
>>> failed: [localhost] => {"failed": true, "parsed": false}
>>>
>>> failed=True msg='azure required for this module'
>>>
>>>
>>> Here is the playbook:
>>>
>>>
>>> # Provision ubuntu virtual machine example
>>>
>>> - hosts: localhost
>>>
>>>   connection: local
>>>
>>>   tasks:
>>>
>>>     - name: install ubuntu
>>>
>>>       azure:
>>>
>>>         name: ubuntu-test
>>>
>>>         role_size: A2
>>>
>>>         image: Ubuntu 15.04
>>>
>>>         location: 'East US'
>>>
>>>         user: architech
>>>
>>>         ssh_cert_path: /Users/someuser/someuser.pem
>>>
>>>         storage_account: https://someurl.blob.core.windows.net/vhds
>>>
>>>         wait: yes
>>>
>>>
>>> Any help would be appreciated.
>>>
>>>
>>> Thank you,
>>>
>>> Roman.
>>>
>>  --
> 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/6ab54daa-10e7-4f8b-bffd-6b3ec431ba83%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/6ab54daa-10e7-4f8b-bffd-6b3ec431ba83%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
-- 
http://www.xing.com/profile/Martin_Marcher
http://www.linkedin.com/in/martinmarcher
Mobil: +43 / 660 / 62 45 103
UID: ATU68801424

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

Reply via email to