Skip to content

Instantly share code, notes, and snippets.

@eloycoto
Forked from agonzalezro/Vagrantfile
Created August 29, 2014 06:36
Show Gist options
  • Save eloycoto/59f03722a38378f717de to your computer and use it in GitHub Desktop.
Save eloycoto/59f03722a38378f717de to your computer and use it in GitHub Desktop.
---
- hosts: all
sudo: true
tasks:
- apt_repository: repo='deb https://get.docker.io/ubuntu docker main' state=present update_cache=yes
- apt: name=lxc-docker force=yes
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
ansible.extra_vars = { ansible_ssh_user: 'vagrant' }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment