homelab/Vagrantfile
Kris Lamoureux 9158e1184f
Setup WordPress and MariaDB containers
Added port forwarding, python-docker (for Ansible), and containers.
2019-09-19 18:22:51 -04:00

25 lines
568 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "debian/buster64"
config.vm.network "forwarded_port", host: 8080, guest: 8080
config.vm.synced_folder ".", "/vagrant", disabled: true
# Machine Name
config.vm.define :moxie do |moxie| #
end
# Disable Machine Name Prefix
config.vm.provider :libvirt do |libvirt|
libvirt.default_prefix = ""
end
# Provision with Ansible
config.vm.provision "ansible" do |ansible|
ansible.compatibility_mode = "2.0"
ansible.playbook = "moxie.yml"
end
end