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'"]

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0b40e12c-8687-48c8-9301-1c9cbf3059f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to