Debian Codegraph @

ansible_collections/community/crypto/tests/integration/targets/certificate_complete_chain/tasks/main.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 ####################################################################
7 # WARNING: These are designed specifically for Ansible tests #
8 # and should not be used as examples of how to write Ansible roles #
9 ####################################################################
10
11 - block:
12
13 - name: Copy test files to testhost
14 ansible.builtin.copy:
15 src: '{{ role_path }}/files/'
16 dest: '{{ remote_tmp_dir }}/files/'
17
18 - name: Run tests with copied certificates
19 ansible.builtin.import_tasks: existing.yml
20
21 - name: Create more certificates
22 ansible.builtin.import_tasks: create.yml
23
24 - name: Run tests with created certificates
25 ansible.builtin.import_tasks: created.yml
26
27 when: cryptography_version is version('3.3', '>=')