ansible.utils/tests/integration/targets/utils_index_of/tasks/main.yaml

16 lines
346 B
YAML
Raw Normal View History

---
- name: Recursively find all test files
ansible.builtin.find:
file_type: file
paths: "{{ role_path }}/tasks"
recurse: false
use_regex: true
patterns:
2022-05-26 14:02:52 +00:00
- "^(?!_|main).+$"
delegate_to: localhost
register: found
- name: Include tasks
ansible.builtin.include_tasks: "{{ item.path }}"
loop: "{{ found.files }}"