You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ls /usr/local/Cellar/ansible/1.9.0.1/libexec/vendor/lib/python2.7/site-packages/ | grep pycrypto
<blank>
And since there's no more pycrypto, Ansible now won't run:
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
Other weirdness - pyasn1 claimed installed but isn't:
More weirdness: using state=latest, the pip module did not upgrade I believe it was paramiko. It claimed it did but then I manually ran
pip install --upgrade paramiko
and that performed an upgrade.
Don't know if this is all one issue or several but having a very wonky experience with the pip module. Don't know where to start guessing where the issue is, wish I did...
The text was updated successfully, but these errors were encountered:
And then run the Ansible playbook to install pyasn1, it then installs pyasn1 to
/usr/local/lib/python2.7/site-packages/
So the Ansible pip module is getting confused by looking at both of these site-packages dirs. It should only be looking at and modifying "/usr/local/lib/python2.7/site-packages/". Maybe Ansible needs to remove the other dir from the env when running the pip executable so pip doesn't get confused? Or is this a homebrew problem with the way homebrew installs the various dependencies into Ansible's own site-packages?
Thanks, I'd seen that in the docs before but thought they'd just forgotten to mention HomeBrew. HomeBrew is the Mac People's Choice :). Will use pip now for Ansible.
Ansible 1.9.0.1
Target:
Using the Ansible pip module to install pycrypto leads to deletion of Homebrewed Ansible's pycrypto.
Uninstall any pycrypto, then fresh-install ansible:
Brewed Ansible's embedded pycrypto is present:
Now set up and run the playbook:
Brewed Ansible's embedded pycrypto is gone!:
And since there's no more pycrypto, Ansible now won't run:
Other weirdness - pyasn1 claimed installed but isn't:
Manually works fine after that though:
More weirdness: using state=latest, the pip module did not upgrade I believe it was paramiko. It claimed it did but then I manually ran
and that performed an upgrade.
Don't know if this is all one issue or several but having a very wonky experience with the pip module. Don't know where to start guessing where the issue is, wish I did...
The text was updated successfully, but these errors were encountered: