ansible verison 1.7 and pycrpto problems

97 views
Skip to first unread message

Guanwen Zhang

unread,
Aug 7, 2014, 5:46:27 PM8/7/14
to ansible...@googlegroups.com

I installed ansible 1.7, when I played my playbook, I got the following error messages:

[***@xxxx openstack]$ ansible-playbook -i ../inventory --ask-vault-pass keystone.yml                           
Vault password:
ERROR: ansible-vault requires a newer version of pycrypto than the one installed on your platform. You may fix this with OS-specific commands such as:
yum install python-devel; rpm -e --nodeps python-crypto; pip install pycrypto


I followed the above instruction, I got:

 pip install pycrypto --upgrade
Requirement already up-to-date: pycrypto in /usr/lib64/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg
Cleaning up...


However, the problem is not still there.

regards

Henry

Michael DeHaan

unread,
Aug 8, 2014, 10:39:43 AM8/8/14
to ansible...@googlegroups.com
Initial questions - what OS are you running from and how did you install ansible?

Pycrypto can get confused when your libs get mixed between OS packages and pip.




--
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/CAKx6xESJfA9d7XMSmkWbJzdeP3DFQZYmoJujVn2kB-HWGsoukg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages