aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.vagrant/Vagrantfile
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-04-27 12:56:06 +0000
committerpmikus <pmikus@cisco.com>2021-04-27 12:56:06 +0000
commitf4832cfa6d6549636d28ebd01d42c95a3f0a1312 (patch)
tree9b60ddc24aebc5b6aa3f4de65d30fe974ed86a9b /csit.infra.vagrant/Vagrantfile
parent61229adede137a7a003a433bf16ed527c9298463 (diff)
Infra: Vagrant ansible version
+ In some corner cases wrong ansible version can be installed. Fixing to specific version. Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia7f1a5644454af0819d06dbac900f69d083ca475
Diffstat (limited to 'csit.infra.vagrant/Vagrantfile')
-rw-r--r--csit.infra.vagrant/Vagrantfile4
1 files changed, 3 insertions, 1 deletions
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"