From 8daf4fb0596ecaa88724370da4e3017865afcef6 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Sun, 5 Apr 2015 19:06:54 +0200 Subject: [PATCH] Remove Ansible from the Vagrant environment Change-Id: If0a161504424646aad49bcd7cb8f0636fa05db28 --- Vagrantfile | 6 ++---- ansible/playbook.yaml | 5 ----- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 ansible/playbook.yaml diff --git a/Vagrantfile b/Vagrantfile index 78b00fb..ad45f29 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -21,10 +21,8 @@ Vagrant.configure(2) do |config| end config.ssh.shell = 'bash -c "BASH_ENV=/etc/profile exec bash"' config.cache.scope = :box if Vagrant.has_plugin?('vagrant-cachier') - config.vm.hostname = 'faafo' - config.vm.provision 'ansible' do |ansible| - ansible.playbook = 'ansible/playbook.yaml' - end + config.vm.provision "shell", + inline: "apt-get update && apt-get upgrade -y" config.vm.define "services", primary: true do |node| node.vm.hostname= "services" diff --git a/ansible/playbook.yaml b/ansible/playbook.yaml deleted file mode 100644 index 0dbf13e..0000000 --- a/ansible/playbook.yaml +++ /dev/null @@ -1,5 +0,0 @@ -- hosts: all - sudo: True - - tasks: - - apt: update-cache=yes upgrade=yes