title: How to use template module with different set of variables?
body: <p>My use case is the following : </p>
  
  <p>I have a template file, and I would like to create 2 different files from that template, with the variables being filled by a different set of variables for each file.</p>
  
  <p>For example, lets say I want to template the file containing the line: </p>
  
  <pre><code>mkdir -p {{myTemplateVariable}}
  </code></pre>
  
  <p>I would like to find a proper way to get this variable filled by "File1" and "File2". Something like :</p>
  
  <pre><code>- name: template test 1
    template: 
          src=myTemplateFile
          dest=result1
  
  
  - name: template test 2
    template: 
          src=myTemplateFile
          dest=result2
  </code></pre>
  
  <p>where I could specify for the first templating that the variable to use is a = "File1" and for the second, b = "File2".</p>