--- - name: Recursively find all test files find: file_type: file paths: "{{ role_path }}/tests" recurse: true delegate_to: localhost register: found - include: "{{ item.path }}" loop: "{{ found.files }}"