From 863f6ab3213271723b79a7ab6f5b5cbe9765ab2f Mon Sep 17 00:00:00 2001 From: josephchapman Date: Thu, 30 Mar 2017 15:25:25 +0100 Subject: [PATCH] Create Vagrantfile --- Vagrantfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Vagrantfile diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..d0d8323 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,17 @@ +Vagrant.configure(2) do |config| + config.vm.box = "centos/7" + + config.vm.network "private_network", ip: "192.168.50.10" + + config.vm.synced_folder ".", "/vagrant", type: "rsync", + rsync__exclude: ".git/" + + config.vm.provider "virtualbox" do |vb| + vb.name = "ansible-magento2" + vb.memory = "512" + end + + config.vm.provision "ansible" do |ansible| + ansible.playbook = "site.yml" + end +end