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

Maintain 'testing' branch with test tools pre-installed #7

Open geerlingguy opened 5 years ago

geerlingguy commented 5 years ago

See: https://github.com/geerlingguy/docker-ubuntu1804-ansible/issues/4

Basically, maintain latest as-is, but add a testing branch which includes Ansible plus:

geerlingguy commented 5 years ago

Hmm... just found: https://github.com/ansible/ansible/pull/42971

Also, just opened: https://github.com/geerlingguy/docker-centos6-ansible/issues/10

Distilling the above: it looks like it's going to be very difficult to get a pip install of Ansible and/or any of the other test dependencies working in a way that makes this image still both easy to use and interchangeable with my other Docker Ansible testing images.

I can get the latest Ansible and all the deps installed using Software Collections, but that would require every call to ansible* to be prefixed with scl enable python27 "ansible*" which is highly annoying and not very easy to interchangeably script with my other containers (which just use the default system python...).