title: How to modify a config file of tomcat docker container using ansible?
body: <p>I am trying to change a config file or readme file of the running tomcat docker container using Ansible playbook. I went through docker modules where you can build and run your docker images. But I want to automate my task of changing or replacing any line in config file of container when it is running using Ansible. I don't see any such ansible module to do this. Any help is appreciated.</p>
  <p>PS: I'm aware of <code>lineinfile</code> module which is used for modifying the line. My question is how do I enter into a running container using ansible.</p>