Docker & Ansible

Hello ,

I have my redhat server with docker centos, inside this docker I have ansible (v2.4) all my playbooks are in the host server (redhat) when I run the playbooks this way I get time out, but if I run the playbooks directly from the docker I dont have any issue.

Any idea why this can happend?