From: pmikus Date: Tue, 27 Apr 2021 12:56:06 +0000 (+0000) Subject: Infra: Vagrant ansible version X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=f4832cfa6d6549636d28ebd01d42c95a3f0a1312 Infra: Vagrant ansible version + In some corner cases wrong ansible version can be installed. Fixing to specific version. Signed-off-by: pmikus Change-Id: Ia7f1a5644454af0819d06dbac900f69d083ca475 --- diff --git a/csit.infra.vagrant/Vagrantfile b/csit.infra.vagrant/Vagrantfile index f951425e86..8a6e8d19b2 100644 --- a/csit.infra.vagrant/Vagrantfile +++ b/csit.infra.vagrant/Vagrantfile @@ -32,7 +32,9 @@ Vagrant.configure("2") do |config| # Provision the box using ansible local (no Ansible installation needed # on host). config.vm.provision "ansible_local" do |ansible| - ansible.version = "latest" + ansible.version = "2.10.8" + ansible.install_mode = "pip" + ansible.pip_install_cmd = "curl -s https://bootstrap.pypa.io/get-pip.py | sudo python3" ansible.become = true ansible.verbose = false ansible.limit = "vagrant"