Debian Codegraph @

ansible_collections/community/crypto/tests/integration/targets/setup_acme/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 - name: Set ACME server information
12 ansible.builtin.set_fact:
13 # ARI and profiles have been added in https://github.com/ansible/ansible/pull/84547
14 # See also https://github.com/ansible/acme-test-container/pull/25
15 acme_supports_ari: "{{ ansible_version.full is version('2.19', '>=') }}"
16 acme_supports_profiles: "{{ ansible_version.full is version('2.19', '>=') }}"
17 acme_directory_url: "https://{{ acme_host }}:14000/dir"
18
19 - name: Print ACME server information
20 ansible.builtin.debug:
21 msg: |-
22 ACME test container IP is {{ acme_host }}
23 ACME directory: {{ acme_directory_url }}
24 ACME server supports ARI: {{ acme_supports_ari }}
25 ACME server supports profiles: {{ acme_supports_profiles }}
26 OpenSSL version is {{ openssl_version }}
27 cryptography version is {{ cryptography_version }}