Exact same problem here... Why can't Ansible find the dopy module?

I was able to successfully create a droplet via the dopy module in Python:

Wills-MacBook-Air:ansible-stuff will$ python
Python 2.7.9 (default, Dec 19 2014, 06:00:59)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from dopy.manager import DoManager
>>> do = DoManager('*********************', '**********************')
>>> do.new_droplet('dopy-droplet', 63, 9640922, 8)
{u'event_id': 55212061, u'image_id': 9640922, u'size_id': 63, u'id': 5963986
, u'name': u'dopy-droplet'}
>>>

So I know the module works...


On Monday, June 1, 2015 at 8:44:22 AM UTC-4, Global Cooling wrote:
>
> I have tried suggestions on Github, Google Groups, and GIthub Gists but 
> can't seem to resolve this error.
>
> I'm using system version of Python
>
> which python
> /usr/bin/python
>
> python --version
> Python 2.7.6
>
> Pip was installed using sudo simple_install pip
>
> which pip
> /usr/local/bin/pip
>
> pip --version
> pip 6.1.1 from /Library/Python/2.7/site-packages/pip-6.1.1-py2.7.egg (python 
> 2.7)
>
> Ansible and dopy both installed as pip modules
> pip list
> ... 
> ansible (1.9.1)
> ...
> dopy (0.3.6)
> ...
>
>
> But I get an error when trying to run playbook using digital ocean module
>
> TASK: [create digitalocean droplet] 
> ******************************************* 
> failed: [127.0.0.1] => {"failed": true, "parsed": false}
> failed=True msg='dopy >= 0.2.3 required for this module'
>
>
>
>

-- 
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/da9f5a85-0da3-49a5-b1b5-65ae9c85e6e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to