Vagrantfile
author Luke Hoersten <luke@hoersten.org>
Sun, 17 Nov 2019 08:14:06 -0600
changeset 75 d8c87a41cc6d
parent 61 2dd82d9e2103
permissions -rw-r--r--
Pleroma role updates. Added Postgresql role.

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/bionic64"

  config.vm.network "forwarded_port", guest: 4000, host: 4000
  config.vm.network "forwarded_port", guest: 80, host: 8080
  # config.vm.synced_folder "../data", "/vagrant_data"

  # config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
  #   vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
  #   vb.memory = "1024"
  # end

  config.vm.provision "ansible" do |ansible|
    ansible.limit = "all,localhost"
    # ansible.verbose = "vvv"
    ansible.playbook = "main.yaml"
    ansible.compatibility_mode = "2.0"
  end
end