--- - name: Recursively find all test files find: file_type: file paths: "{{ role_path }}/tasks/include" recurse: true use_regex: true patterns: - '^(?!_).+$' register: found - include: "{{ item.path }}" loop: "{{ found.files }}"