Debian Codegraph @

ansible_collections/community/dns/tests/ee/all.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Run EE tests
7 hosts: localhost
8 tasks:
9 - name: Find all roles
10 ansible.builtin.find:
11 paths:
12 - "{{ (playbook_dir | default('.')) ~ '/roles' }}"
13 file_type: directory
14 depth: 1
15 register: result
16 - name: Include all roles
17 ansible.builtin.include_role:
18 name: "{{ item }}"
19 loop: "{{ result.files | map(attribute='path') | map('regex_replace', '.*/', '') | sort }}"