Hi,
When using Docker CE on RHEL 7, installed whith Ansible (python 2.7 on 
target), docker_container module fails, saying I should install docker or 
docker-py, but I can't find a way to make it work.
Python 2.7 being unsupported since January, I tried to switch to Python 3.
The yum module says it is deprecated and suggets I use dnf with Python 3.
I can't find any package (RPM) python3-dnf, even dnf can't find it, is 
there a way to make it work, please?
So I switched to miniconda to provide a Python distribution independant 
from Red Hat as neither Python2 nor Python3 worked.
I can't find a way to make dnf module work when installing ansible and dnf 
with pip with miniconda.

So, my question is this :
Is there a LTS way to use both docker_container and yum or dnf modules on 
RHEL7? I f yes, which Python should I use?

I'm getting really worried about all those incompatibilities, there should 
exist a way to keep it simple without spending hours resolving conflicts 
and deprecation problems.
Thank you guys.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/12273033-77a8-40a8-af42-e869fca434c9%40googlegroups.com.

Reply via email to