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>
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"