blog/Vagrantfile
Marvin Steadfast 1426c4b732 using docker and vagrant for blogging environment
also added cookiecutter for easier blog post creation.
2015-08-23 13:47:31 +02:00

25 lines
558 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.network "forwarded_port", guest: 8888, host: 8888
config.ssh.forward_agent = true
config.vm.provider "docker" do |d|
d.build_dir = "./vagrant"
d.has_ssh = true
end
# provisioning
require 'rbconfig'
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/vagrant.yml"
ansible.limit = "all"
ansible.verbose = "v"
#ansible.vault_password_file = "ansible/.vault_pass.txt"
ansible.host_key_checking = false
end
end