mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-02-26 09:32:10 +07:00
⚡ Remove useless provision in Vagrant
This commit is contained in:
8
Vagrantfile
vendored
8
Vagrantfile
vendored
@@ -40,10 +40,6 @@ Vagrant.configure("2") do |config|
|
||||
d.has_ssh = true
|
||||
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 "ansible" do |ansible|
|
||||
ansible.playbook = "tests/test.yml"
|
||||
@@ -63,10 +59,6 @@ Vagrant.configure("2") do |config|
|
||||
end
|
||||
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|
|
||||
ansible.playbook = "tests/test.yml"
|
||||
ansible.verbose = 'vv'
|
||||
|
||||
Reference in New Issue
Block a user