'dopy >= 0.2.3 required for this module'

65 views
Skip to first unread message

Global Cooling

unread,
Jun 1, 2015, 8:44:21 AM6/1/15
to ansible...@googlegroups.com


System version of python

which python
> /usr/local/bin/python
python
--version
> Python 2.7.6


Pip installed with sudo easy_install pip

which pip
> /usr/local/bin/pip
pip
--version
> pip 6.1.1 from /usr/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg (python 2.7)


Both ansible and dopy installed with pip

pip list
You are using pip version 6.1.1, however version 7.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
ansible
(1.9.1)
dopy
(0.3.6)


Error when trying to use 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'


Marcus Franke

unread,
Jun 1, 2015, 11:05:52 AM6/1/15
to ansible...@googlegroups.com

Hi,

you are missing the digitalocean client on your local machine 'dopy'.

You can try to install it using pip or follow the instructions of the repository.

http://devo.ps/blog/announcing-dopy-with-digitalocean-api-v2/

Regards,
Marcus

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3a1cc9bc-8305-4e83-b7b9-5cda2d6997b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages