Skip to content

Commit

Permalink
Run ansible provisioners only once. Use workaround from hashicorp/vag…
Browse files Browse the repository at this point in the history
  • Loading branch information
lauriku committed Nov 10, 2015
1 parent d60a1f9 commit 110fc49
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Vagrantfile
Expand Up @@ -15,10 +15,9 @@ Vagrant.configure(2) do |config|
dns.vm.box_url = "https://halkyon.net/vagrant/debian-jessie-minimal-amd64.box"
dns.vm.hostname = "dns-host"
dns.vm.provision :shell, path: "install_python.sh"
end

config.vm.provision "ansible" do |ansible|
ansible.playbook = "deploy/site.yml"
ansible.limit = "all"
dns.vm.provision "ansible" do |ansible|
ansible.limit = "all"
ansible.playbook = "deploy/site.yml"
end
end
end

0 comments on commit 110fc49

Please sign in to comment.