Read my blog here... Link: https://medium.com/@dhanbdrkarki/practice-ansible-using-docker-af4d57bcc668