geerlingguy / docker-centos6-ansible

CentOS 6.x Docker container for Ansible playbook and role testing.
https://hub.docker.com/r/geerlingguy/docker-centos6-ansible/
MIT License
8 stars 17 forks source link

Whither Ansible 2.7? #9

Closed geerlingguy closed 5 years ago

geerlingguy commented 5 years ago

So... Ansible 2.7 has deprecated support for running on RHEL 6 / CentOS 6 as the controller (at least in the default state), because support for Python 2.6 and earlier was completely removed.

So as of right now, this image is/will be locked in at Ansible 2.6.4 for the forseeable future.

I played around with using SCL to install python27, then having every ansible* command run with scl enable python27 "ansible*", but it was extremely cumbersome, and completely different than the way you run Ansible in all my other Docker testing images.

So... it's also kinda insane to try to override the system python with 2.7, because in RHEL 6 python is intrinsically tied into yum... and yum's kinda important to have working correctly.

Related to #7 — especially since some testing tools won't install under Python 2.6 either :-/

geerlingguy commented 5 years ago

Dupe.