From: David Galloway Date: Thu, 18 Dec 2025 16:32:04 +0000 (-0500) Subject: builder.yaml: CentOS version-specific chacra repo for vagrant X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f0c28269d31ade3a392ba410db512fb6ed1a2478;p=ceph-build.git builder.yaml: CentOS version-specific chacra repo for vagrant 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 --- diff --git a/ansible/examples/builder.yml b/ansible/examples/builder.yml index 612b21e7..9163bcf9 100644 --- a/ansible/examples/builder.yml +++ b/ansible/examples/builder.yml @@ -548,8 +548,7 @@ 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"