mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add note to the porting guide about why we're dropping python-2.6 controller support
This commit is contained in:
parent
da26ba3760
commit
a0e6ab09d1
2 changed files with 16 additions and 1 deletions
|
@ -3,4 +3,5 @@ major_changes:
|
||||||
- Support for running an Ansible controller with Python-2.6 has been dropped.
|
- Support for running an Ansible controller with Python-2.6 has been dropped.
|
||||||
You can still manage machines which use Python-2.6 but you will have to
|
You can still manage machines which use Python-2.6 but you will have to
|
||||||
manage them from a machine which has Python-2.7 or Python-3.5 or greater
|
manage them from a machine which has Python-2.7 or Python-3.5 or greater
|
||||||
installed.
|
installed. See the `porting guide <https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_2.7.html>`_
|
||||||
|
if you need more information.
|
||||||
|
|
|
@ -22,6 +22,20 @@ or :command:`/usr/bin/ansible-playbook` is run). Modules shipped with Ansible c
|
||||||
manage hosts which only have Python-2.6. You just need to have a host with Python-2.7 or Python-3.5
|
manage hosts which only have Python-2.6. You just need to have a host with Python-2.7 or Python-3.5
|
||||||
or greater to manage those hosts from.
|
or greater to manage those hosts from.
|
||||||
|
|
||||||
|
One thing that this does affect is the ability to use :command:`/usr/bin/ansible-pull` to manage
|
||||||
|
a host which has Python-2.6. ``ansible-pull`` runs on the host being managed but it is a controller
|
||||||
|
script, not a module so it will need an updated Python. Actively developed Linux distros which ship
|
||||||
|
with Python-2.6 have some means to install newer Python versions (For instance, you can install
|
||||||
|
Python-2.7 via an SCL on RHEL-6) but you may need to also install Python bindings for many common
|
||||||
|
modules to work (For RHEL-6, for instance, selinux bindings and yum would have to be installed for
|
||||||
|
the updated Python install).
|
||||||
|
|
||||||
|
The decision to drop Python-2.6 support on the controller was made because many dependent libraries
|
||||||
|
are becoming unavailable there. In particular, python-cryptography is no longer available for Python-2.6
|
||||||
|
and the last release of pycrypto (the alternative to python-cryptography) has known security bugs
|
||||||
|
which will never be fixed.
|
||||||
|
|
||||||
|
|
||||||
Playbook
|
Playbook
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue