Add note about python-selinux.

This commit is contained in:
Michael DeHaan 2013-08-08 09:14:56 -04:00 committed by root
parent 0089ecfa7e
commit 067cc9274d

View file

@ -23,6 +23,8 @@ If you are using RHEL or CentOS 5, Python is version 2.4 by default, but you can
$ yum install python26 python26-PyYAML python26-paramiko python26-jinja2 $ yum install python26 python26-PyYAML python26-paramiko python26-jinja2
On the managed nodes, you only need Python 2.4 or later, but if you are are running less than Python 2.6 on them, you will On the managed nodes, you only need Python 2.4 or later, but if you are are running less than Python 2.6 on them, you will
also need: also need:
@ -36,6 +38,13 @@ also need:
then allows you to use everything else. (That's jumping ahead then allows you to use everything else. (That's jumping ahead
though.) though.)
.. note::
If you have SELinux enabled on remote nodes, you will also want to install
python-selinux on them before using any copy/file/template related functions in
Ansible. You can of course still use the yum module in Ansible to install this package on
remote systems that do not have it.
.. note:: .. note::
Python 3 is a slightly different language than Python 2 and most python programs (including Python 3 is a slightly different language than Python 2 and most python programs (including