]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
builder.yaml: CentOS version-specific chacra repo for vagrant 2508/head
authorDavid Galloway <david.galloway@ibm.com>
Thu, 18 Dec 2025 16:32:04 +0000 (11:32 -0500)
committerDavid Galloway <david.galloway@ibm.com>
Thu, 18 Dec 2025 16:32:04 +0000 (11:32 -0500)
We know X version works on CentOS 7.  We need a newer version for CentOS 9.  We should have a per major version repo.

Signed-off-by: David Galloway <david.galloway@ibm.com>
ansible/examples/builder.yml

index 612b21e7487ff7ded9a718877b9aa4bcfc0f9cc5..9163bcf91e49f6734c47aeeb739613089bb188f4 100644 (file)
           yum_repository:
             name: vagrant
             description: self-hosted vagrant repo
-            # Although this is a 'CentOS7' repo, the vagrant RPM is OS-version agnostic
-            baseurl: "https://chacra.ceph.com/r/vagrant/latest/HEAD/centos/7/flavors/default/x86_64/"
+            baseurl: "https://chacra.ceph.com/r/vagrant/latest/HEAD/centos/{{ ansible_distribution_major_version }}/flavors/default/x86_64/"
             enabled: yes
             gpgcheck: no
           when: ansible_os_family == "RedHat"