]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ansible: Pin CentOS7 vagrant-libvirt to 0.3.0 1843/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 16 Jun 2021 13:10:42 +0000 (09:10 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 16 Jun 2021 13:18:32 +0000 (09:18 -0400)
So the vagrant-libvirt project itself admits that it does not support CentOS8.

Jobs /usually/ pass on the smithi builders (CentOS7.9, Vagrant 2.2.3, and vagrant-libvirt 0.0.40 or 0.3.0) so let's try running that everywhere.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ansible/examples/slave.yml

index 21fd63d9b21a6fe1ef17f4c0e2abb1d85584d196..25dd94c4f1b1ac46cb929f2b3508b4c93474695f 100644 (file)
     - name: Install vagrant-libvirt plugin
       block:
         - name: Install the vagrant-libvirt plugin (without args)
-          shell: vagrant plugin install vagrant-libvirt
+          shell: vagrant plugin install vagrant-libvirt --plugin-version 0.3.0
           become_user: "{{ jenkins_user }}"
           when: (ansible_os_family == "RedHat" and ansible_distribution_major_version|int <= 7) or
                 (ansible_os_family == "Debian" and ansible_distribution_major_version|int <= 18)