- name: check that index var exists inside included tasks file
  assert:
    that: my_idx == item|int
