I have a virtual machine running centos 5.8 and I just installed python2.7 because I was having some issues with import simplejson as json. After installing python2.7 and running ansible roles I have the follwing error:
failed: [default] => (item=httpd,httpd-devel) => {"failed": true, "item": "httpd,httpd-devel", "parsed": false}
invalid output was: SUDO-SUCCESS-jexgalzfpawatwlwldjlitpbyuyelqew
Traceback (most recent call last):
File "/home/vagrant/.ansible/tmp/ansible-1391226441.99-18554377653196/yum", line 26, in <module>
import yum
ImportError: No module named yum
I searched all over the place for yum python module but I could not find it.
Can someone help me somehow?