Ansible on RedHat 5.x

The problem

Older Pythons that live on older RedHats do not have json support. Old corporations still use old OS’es like RedHat 5.x but need to use modern configuration management tools like Ansible.

The goal

Enable RedHat 5.x systems to run Ansible by installing json support on Python 2.4.

HowTo

Using Ansible Raw

sandor@theargo> ansible -i hosts all -m raw -a "yum -y install python-simplejson"