title: Loop from 0 to 100 with ansible
body: <p>I would like to loop from <code>s0</code> to <code>s60</code> and from <code>s100</code> to <code>s100</code> with this command:</p>
  <pre class="lang-yaml prettyprint-override"><code>- name: &quot;Network scan at port 22 {{ nom_base }}&quot;
    when: inventory_hostname in groups['exos_switch']
    wait_for:
          port: 22
          host: &quot;{{ nom_base }}-{{ item }}&quot;
          state: started
          timeout: 2   
    with_items:
      - s0
      - s1
      - s2
      - s3
      - s4
      - s5
      ....
      - s60
      - s100
      ...
      - s110
  </code></pre>
  <p>Any idea?</p>