Remove useless provision in Vagrant

pull/17/head
Emilien Mantel 2022-02-22 13:31:19 +01:00
parent 309824dabf
commit 28caf6d9c9
1 changed files with 0 additions and 8 deletions

8
Vagrantfile vendored
View File

@ -40,10 +40,6 @@ Vagrant.configure("2") do |config|
d.has_ssh = true d.has_ssh = true
end end
if opts[:name].include? "bullseye"
m.vm.provision "shell", inline: "[ -f '/root/first_provision' ] || (apt-get update -qq && apt-get -y dist-upgrade && touch /root/first_provision)"
end
#m.vm.provision "shell", inline: "apt-get update && apt-get install -y python python-apt" #m.vm.provision "shell", inline: "apt-get update && apt-get install -y python python-apt"
m.vm.provision "ansible" do |ansible| m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml" ansible.playbook = "tests/test.yml"
@ -63,10 +59,6 @@ Vagrant.configure("2") do |config|
end end
m.vm.provision "shell", inline: "apt-get update && apt-get install -y ifupdown python" m.vm.provision "shell", inline: "apt-get update && apt-get install -y ifupdown python"
if opts[:name].include? "bullseye"
m.vm.provision "shell", inline: "[ -f '/root/first_provision' ] || (apt-get update -qq && apt-get -y dist-upgrade && touch /root/first_provision)"
end
m.vm.provision "ansible" do |ansible| m.vm.provision "ansible" do |ansible|
ansible.playbook = "tests/test.yml" ansible.playbook = "tests/test.yml"
ansible.verbose = 'vv' ansible.verbose = 'vv'