Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ci/playbooks/content_provider/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
ansible.builtin.include_role:
name: prepare-workspace

- name: Pin OpenSSL for job TLS downloads
ansible.builtin.include_tasks: ../tasks/pin_openssl.yml

- name: Install ansible-core
become: true
ansible.builtin.package:
Expand Down
3 changes: 3 additions & 0 deletions ci/playbooks/e2e-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
ansible.builtin.include_role:
name: prepare-workspace

- name: Pin OpenSSL for job TLS downloads
ansible.builtin.include_tasks: tasks/pin_openssl.yml

- name: Create zuul-output directory
ansible.builtin.file:
path: "{{ ansible_user_dir }}/zuul-output/logs"
Expand Down
3 changes: 3 additions & 0 deletions ci/playbooks/pre-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
ansible.builtin.include_role:
name: prepare-workspace

- name: Pin OpenSSL for job TLS downloads
ansible.builtin.include_tasks: tasks/pin_openssl.yml

- name: Output pip related things
ansible.builtin.command:
cmd: pip --version
Expand Down
15 changes: 15 additions & 0 deletions ci/playbooks/tasks/pin_openssl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- name: Pin OpenSSL to 3.5.5
become: true
register: _cifmw_pin_openssl
changed_when: >-
_cifmw_pin_openssl.rc == 0 and
"Nothing to do." not in (_cifmw_pin_openssl.stdout | default(""))
failed_when: false
ansible.builtin.command:
argv:
- dnf
- downgrade
- --allowerasing
- -y
- openssl-3.5.5
- openssl-libs-3.5.5
6 changes: 6 additions & 0 deletions scripts/setup_molecule
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ export PROJECT_DIR="$(dirname $(dirname $(readlink -f ${BASH_SOURCE[0]})))"
# system ansible may be installed.
export ANSIBLE_SKIP_CONFLICT_CHECK=1

# Workaround: OpenSSL >= 3.5.6 introduced strict DER validation that rejects
# some real-world CA root certs (openssl/openssl#25023), breaking Ansible's
# url lookup plugin. Pin to 3.5.5 until the issue is resolved upstream.
# Remove this block once openssl/openssl#25023 is fixed.
sudo dnf downgrade --allowerasing -y openssl-3.5.5 openssl-libs-3.5.5 2>/dev/null || true

PIP_INSTALL_ARGUMENTS="-U -r ${PROJECT_DIR}/test-requirements.txt"
case ${USE_VENV-'yes'} in
y|yes|true)
Expand Down
Loading