1 2 3 4 5 6
- hosts: localhost gather_facts: no tasks: - name: test item being present in the output ansible.builtin.debug: var=item loop: [1, 2, 3]