mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-26 21:33:25 +00:00
28 lines
966 B
YAML
28 lines
966 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
####################################################################
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
####################################################################
|
|
|
|
- block:
|
|
|
|
- name: Copy test files to testhost
|
|
ansible.builtin.copy:
|
|
src: '{{ role_path }}/files/'
|
|
dest: '{{ remote_tmp_dir }}/files/'
|
|
|
|
- name: Run tests with copied certificates
|
|
ansible.builtin.import_tasks: existing.yml
|
|
|
|
- name: Create more certificates
|
|
ansible.builtin.import_tasks: create.yml
|
|
|
|
- name: Run tests with created certificates
|
|
ansible.builtin.import_tasks: created.yml
|
|
|
|
when: cryptography_version is version('3.3', '>=')
|