I know rhel4 is not supported, but I do not have choice.
Installed python27 in /opt and trying to get the playbook running.
I am using the ansible_python_interpreter /opt/python2.7/bin/python2.7
Just regular ansible xxxxx -a “date” command works fine.
But, when I try using the playbook, it causes kernel panic.
ansible-playbook -i 118.yml pb/test.yml -vvvv
PLAY [xxxx-xx-xx-a118v] *********************************************************
GATHERING FACTS ***************************************************************
<10.28.97.41> ESTABLISH CONNECTION FOR USER: root
<10.28.97.41> REMOTE_MODULE setup
<10.28.97.41> EXEC [‘ssh’, ‘-C’, ‘-tt’, ‘-vvv’, ‘-o’, ‘StrictHostKeyChecking=no’, ‘-o’, ‘Port=22’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘ConnectTimeout=10’, ‘10.28.97.41’, “/bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033 && echo $HOME/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033’”]
<10.28.97.41> PUT /tmp/tmp5avqwe TO /root/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033/setup
<10.28.97.41> EXEC [‘ssh’, ‘-C’, ‘-tt’, ‘-vvv’, ‘-o’, ‘StrictHostKeyChecking=no’, ‘-o’, ‘Port=22’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘ConnectTimeout=10’, ‘10.28.97.41’, u"/bin/sh -c ‘LANG=C LC_CTYPE=C /opt/python2.7/bin/python2.7 /root/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033/setup; rm -rf /root/.ansible/tmp/ansible-tmp-1416666003.26-47750684797033/ >/dev/null 2>&1’"]