Debian Codegraph @

ansible_collections/community/sops/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 tasks:
8 - name: Download sops test GPG key on localhost
9 get_url:
10 url: https://raw.githubusercontent.com/getsops/sops/master/pgp/sops_functional_tests_key.asc
11 dest: /tmp/sops_functional_tests_key.asc
12 - name: Import sops test GPG key on localhost
13 command: gpg --import /tmp/sops_functional_tests_key.asc
14 failed_when: false
15 - name: Find all roles
16 find:
17 paths:
18 - "{{ (playbook_dir | default('.')) ~ '/roles' }}"
19 file_type: directory
20 depth: 1
21 register: result
22 - name: Include all roles
23 include_role:
24 name: "{{ item }}"
25 loop: "{{ result.files | map(attribute='path') | map('regex_replace', '.*/', '') | sort }}"