Skip to content

Commit 99c72aa

Browse files
zjhuntinclaude
andcommitted
Use dnf allow_downgrade for openssl EL9 workaround
ansible.builtin.package with state: present won't downgrade when a newer version is already installed. Switch to ansible.builtin.dnf with allow_downgrade: true so the pinned NVRs actually replace the broken 3.5.7-1 packages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f9dcec8 commit 99c72aa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

roles/vagrant_workarounds/tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626
- ansible_facts['distribution_major_version'] == '9'
2727

2828
- name: force downgrade to openssl-3.5.5-3.el9
29-
ansible.builtin.package:
29+
ansible.builtin.dnf:
3030
name:
3131
- openssl-3.5.5-3.el9
3232
- openssl-libs-3.5.5-3.el9
3333
- openssl-fips-provider-3.5.5-3.el9
34+
allow_downgrade: true
3435
state: present
3536
when:
3637
- ansible_facts['os_family'] == 'RedHat'

0 commit comments

Comments
 (0)