From: David Galloway Date: Wed, 15 Jul 2026 23:26:55 +0000 (-0400) Subject: builder.yml: extend EL9 conditionals to EL9+ X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ef8e1b554719cb2934095071bd4f97a3a4c0375d;p=ceph-build.git builder.yml: extend EL9 conditionals to EL9+ EL10 hosts matched neither the EL8 (== 8) nor EL9 (== 9) conditions, so epel_rpms, container_service_name, and container_certs_path were never set ('container_certs_path' is undefined at the Container Tasks block) and the dnf upgrade task was skipped entirely. Change both '== 9' conditions to '>= 9' so EL10 builders get package upgrades and the EPEL/container vars. Signed-off-by: David Galloway --- diff --git a/ansible/examples/builder.yml b/ansible/examples/builder.yml index a657dab25..94658fdb4 100644 --- a/ansible/examples/builder.yml +++ b/ansible/examples/builder.yml @@ -138,14 +138,14 @@ - ansible_distribution_major_version|int <= 8 tags: always - - name: Update and upgrade all packages (RedHat EL9) + - name: Update and upgrade all packages (RedHat EL9+) dnf: name: '*' state: latest update_cache: yes when: - ansible_os_family == "RedHat" - - ansible_distribution_major_version|int == 9 + - ansible_distribution_major_version|int >= 9 tags: always - name: Update and upgrade all packages (Suse) @@ -338,7 +338,7 @@ - ansible_distribution_major_version|int == 8 tags: always - # EL9 RPMs + # EL9+ RPMs - set_fact: epel_rpms: - jq @@ -351,7 +351,7 @@ container_certs_path: "/etc/containers/certs.d/{{ container_mirror }}" when: - ansible_os_family == "RedHat" - - ansible_distribution_major_version|int == 9 + - ansible_distribution_major_version|int >= 9 tags: always # This package removed in EL9