title: Ansible/Jinja templating
body: <p>I am looking to set a fact with its constituent being a dictionary but in below code <code>my_dict_var</code></p>
  <p>is rendering as a <code>string</code> although I want it to be a dictionary.</p>
  <pre><code>- set_fact:
      my_fact: &quot;{{ my_fact | default({}) | combine( my_dcit_var ) }}&quot;
    vars:
      my_dcit_var: { &quot;{{ item }}&quot; : ['some string value'] }
    with_items:
      - 1
      - 2
      - 3
  
  </code></pre>
  <p>I am expecting final result should be.
  <code>{1: ['some string value'], 2: ['some string value'], 3: ['some string value']}</code>
  could someone point out my mistake.</p>