]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
builder.yml: extend EL9 conditionals to EL9+ 2657/head
authorDavid Galloway <david.galloway@ibm.com>
Wed, 15 Jul 2026 23:26:55 +0000 (19:26 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Wed, 15 Jul 2026 23:26:55 +0000 (19:26 -0400)
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 <david.galloway@ibm.com>
ansible/examples/builder.yml

index a657dab2583ab765c6d5bfe1a25cc0a99c140b41..94658fdb43d82021b54af2248d39d7cb13f3e65e 100644 (file)
         - 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)
         - ansible_distribution_major_version|int == 8
       tags: always
 
-    # EL9 RPMs
+    # EL9+ RPMs
     - set_fact:
         epel_rpms:
           - jq
         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