title: Iterating over two lists in ansible
body: <p>I'm new at Ansible and YAML syntax and I'm facing a simple issue: how to iterate over two lists, with the same index?</p>
  
  <p>Something like that: </p>
  
  <pre><code>int[] listOne;
  int[] listTwo;
  
  ---  Attribute some values to the lists  ----
  
  for(int i = 0; i &lt; 10; i++){
    int result = listOne[i] + listTwo[i];
  }
  </code></pre>
  
  <p>In my case, I'm trying to attribute some values to route53 module, and they are in different lists.</p>
  
  <p>Is there anyway to do it? I just found loops that iterate over a single list or nested lists.</p>