On the central Ansible machine, you will need Python 2.6+. If you are running Python 2.5 on an "Enterprise Linux" variant, we'll show you how to add
For the central Ansible machine, you will need a Linux environment with Python 2.6 or greater installed. If you are running Python 2.5 on an "Enterprise Linux" variant, we'll show you how to add 2.6 to your distribution.
2.6 to your distribution.
You will also want the following Python modules (installed via pip or perhaps via your OS package manager via slightly different names):
You will also want the following Python modules (installed via pip or perhaps via your OS package manager via slightly different names):
...
@@ -19,7 +18,7 @@ You will also want the following Python modules (installed via pip or perhaps vi
...
@@ -19,7 +18,7 @@ You will also want the following Python modules (installed via pip or perhaps vi
* ``PyYAML``
* ``PyYAML``
* ``jinja2``
* ``jinja2``
If you are using RHEL or CentOS 5 , python is version 2.4 by default, but you can get python 2.6 installed easily. `Use EPEL <http://fedoraproject.org/wiki/EPEL>`_ and install these dependencies as follows:
If you are using RHEL or CentOS 5, Python is version 2.4 by default, but you can get Python 2.6 installed easily. `Use EPEL <http://fedoraproject.org/wiki/EPEL>`_ and install these dependencies as follows:
.. code-block:: bash
.. code-block:: bash
...
@@ -161,17 +160,6 @@ Make sure you have ``rpm-build``, ``make``, and ``python2-devel`` installed.
...
@@ -161,17 +160,6 @@ Make sure you have ``rpm-build``, ``make``, and ``python2-devel`` installed.
$ make rpm
$ make rpm
$ sudo rpm -Uvh ~/rpmbuild/ansible-*.noarch.rpm
$ sudo rpm -Uvh ~/rpmbuild/ansible-*.noarch.rpm
Python 2.6 EPEL instructions for RHEL and CentOS 5