Debian Codegraph @

ansible_collections/community/docker/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 - hosts: localhost
7 vars:
8 docker_test_image_alpine: quay.io/ansible/docker-test-containers:alpine3.8
9 tasks:
10 - name: Find all roles
11 ansible.builtin.find:
12 paths:
13 - "{{ (playbook_dir | default('.')) ~ '/roles' }}"
14 file_type: directory
15 depth: 1
16 register: result
17 - name: Include all roles
18 ansible.builtin.include_role:
19 name: "{{ item }}"
20 loop: "{{ result.files | map(attribute='path') | map('regex_replace', '.*/', '') | sort }}"