From 43e97107d7ce26a879477659dee4afe6a1aea9b5 Mon Sep 17 00:00:00 2001 From: Przemyslaw Kaminski Date: Thu, 3 Sep 2015 15:32:43 +0200 Subject: [PATCH] Fix ansible.cfg file sync in Vagrantfile --- Vagrantfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 0832a00b..3c5a87a8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -42,7 +42,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision "shell", inline: solar_script, privileged: true config.vm.provision "shell", inline: master_celery, privileged: true config.vm.provision "file", source: "~/.vagrant.d/insecure_private_key", destination: "/vagrant/tmp/keys/ssh_private" - config.vm.provision "file", source: "ansible.cfg", destination: "/home/vagrant/.ansible.cfg" + config.vm.provision "file", source: "bootstrap/ansible.cfg", destination: "/home/vagrant/.ansible.cfg" config.vm.network "private_network", ip: "10.0.0.2" config.vm.host_name = "solar-dev" @@ -63,6 +63,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # standard box with all stuff preinstalled config.vm.box = "cgenie/solar-master" + config.vm.provision "file", source: "bootstrap/ansible.cfg", destination: "/home/vagrant/.ansible.cfg" config.vm.provision "shell", inline: slave_script, privileged: true config.vm.provision "shell", inline: solar_script, privileged: true config.vm.provision "shell", inline: slave_celery, privileged: true