title: Using variables in the Jinja2 template in ansible Playbook
body: <p>Any idea of how we can use dynamic variables inside the Jinja2 Template. Below is the data from my Jinja2 template.</p>
  <p><code>oracle.install.asm.diskGroup.disks=/dev/oracleasm/disks/DATA,/dev/oracleasm/disks/ARCH,/dev/oracleasm/disks/OCR</code></p>
  <p>The variable values in the <code>defaults/main.yml</code> is:</p>
  <pre><code>     asm_disk_detail:
       - { name: 'OCR', path: '/dev/sde1' }
       - { name: 'DATA', path: '/dev/sdf1' }
       - { name: 'ARCH', path: '/dev/sdg1' }
  </code></pre>
  <p>I am trying to use these variable values to pass dynamically at the time of running the playbook. These values should automatically get populated in the template.</p>