Open geerlingguy opened 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
...).
See: https://github.com/geerlingguy/docker-ubuntu1804-ansible/issues/4
Basically, maintain
latest
as-is, but add atesting
branch which includes Ansible plus:yamllint
ansible-lint
flake8
testinfra
molecule