Has anyone come across this error below? I'm trying to run ansible-playbook on CentOS5. I've already setup my PATHs and everything for python2.6 and the rest of the playbook runs through until I get to yum management.
TASK: [yum pkg= state=absent] *********************
<
ui2.sm1.kernelfire.com> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-1360794943.18-266603927169694 && echo $HOME/.ansible/tmp/ansible-1360794943.18-266603927169694']
<
ui2.sm1.kernelfire.com> EXEC ['/bin/sh', '-c', ' /usr/bin/python2.6 -tt /root/.ansible/tmp/ansible-1360794943.18-266603927169694/yum; rm -rf /root/.ansible/tmp/ansible-1360794943.18-266603927169694/ >/dev/null 2>&1']
failed: [
ui2.sm1.kernelfire.com] => (item=syslog-ng) => {"failed": true, "item": "syslog-ng", "parsed": false}
invalid output was: Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-1360794943.18-266603927169694/yum", line 26, in <module>
import yum
ImportError: No module named yum
FATAL: all hosts have already failed -- aborting