Fix for Rocky 9

This commit is contained in:
Alik Kurdyukov 2025-06-13 23:18:54 +04:00
parent 70172a2995
commit b206824a38
2 changed files with 7 additions and 3 deletions

View File

@ -14,8 +14,9 @@ platforms:
image: debian:bookworm image: debian:bookworm
- name: ubuntu-latest - name: ubuntu-latest
image: ubuntu:latest image: ubuntu:latest
- name: rockylinux-8 # TODO: setup ansible<10 for this
image: rockylinux/rockylinux:8 # - name: rockylinux-8
# image: rockylinux/rockylinux:8
- name: rockylinux-9 - name: rockylinux-9
image: rockylinux/rockylinux:9 image: rockylinux/rockylinux:9
provisioner: provisioner:

View File

@ -5,7 +5,10 @@
community.general.dnf_config_manager: community.general.dnf_config_manager:
name: crb name: crb
state: enabled state: enabled
when: ansible_os_family == 'RedHat' and ansible_distribution != 'Fedora' and ansible_distribution != 'Rocky' when:
- ansible_os_family == 'RedHat'
- ansible_distribution != 'Fedora'
- ansible_distribution != 'Rocky' or ansible_distribution_major_version == "9"
- name: Install build dependencies - name: Install build dependencies
ansible.builtin.package: ansible.builtin.package: