title: Ansible replace block of text in a specific file
body: <p>I would like to force replace block of text from "global" to "/global" in a specific file.</p>
  
  <p>For example:
  From:</p>
  
  <pre><code>SOME DATA...
  SOME DATA...
  SOME DATA...
  &lt;global&gt;
   &lt;white_list&gt;127.0.0.1&lt;/white_list&gt;
   &lt;white_list&gt;::1&lt;/white_list&gt;
   &lt;white_list&gt;^localhost.localdomain$&lt;/white_list&gt;
  &lt;/global&gt;
  SOME DATA...
  SOME DATA...
  SOME DATA...
  </code></pre>
  
  <p>To:</p>
  
  <pre><code>SOME DATA...
  SOME DATA...
  SOME DATA...
  &lt;global&gt;
   &lt;white_list&gt;127.0.0.1&lt;/white_list&gt;
   &lt;white_list&gt;::1&lt;/white_list&gt;
   &lt;white_list&gt;^localhost.localdomain$&lt;/white_list&gt;
   &lt;white_list&gt;{{ white_root_vpn }}&lt;/white_list&gt;
   &lt;white_list&gt;{{ white_static1 }}&lt;/white_list&gt;
  &lt;/global&gt;
  SOME DATA...
  SOME DATA...
  SOME DATA...
  </code></pre>
  
  <p>Have you got any idea how to do this?</p>