title: In Ansible, how do I iterate over a list of key/value pairs?
body: <p>Say I have a defaults/main.yml file that has</p>
  
  <pre><code>---
  my_vars:
  - var1: value1
  - var2: value2
  </code></pre>
  
  <p>How can I write my task to output my variables?</p>
  
  <pre><code>- debug: msg="The value of {{item.key}} is {{ item.value }}"
    with_items:
    - "What to put here???"
  </code></pre>