2020-10-28 20:39:20 +00:00
|
|
|
---
|
2020-10-23 11:48:16 +00:00
|
|
|
- name: Recursively find all test files
|
|
|
|
find:
|
|
|
|
file_type: file
|
2021-10-27 18:12:24 +00:00
|
|
|
paths: "{{ role_path }}/tasks"
|
|
|
|
recurse: false
|
2020-10-28 20:39:20 +00:00
|
|
|
use_regex: true
|
2020-10-23 11:48:16 +00:00
|
|
|
patterns:
|
2021-10-27 18:12:24 +00:00
|
|
|
- '^(?!_|main).+$'
|
|
|
|
delegate_to: localhost
|
2020-10-23 11:48:16 +00:00
|
|
|
register: found
|
|
|
|
|
|
|
|
- include: "{{ item.path }}"
|
|
|
|
loop: "{{ found.files }}"
|