Anton Shestakov <av6@dwimlabs.net>, Thu, 28 Jun 2018 22:43:17 +0800
provision: use Prosody 0.10 from upstream repo
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "private_network", ip: "192.168.33.111"
config.vm.network "forwarded_port", guest: 443, host: 21443
config.vm.synced_folder "..", "/vagrant", mount_options: ["dmode=755,fmode=644"]
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--cpus", "1"]
vb.customize ["modifyvm", :id, "--memory", "256"]
config.vm.provision "shell", inline: $setup
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provision/playbook.yml"
#ansible.tags = "common,nginx,prosody,turnserver,certs,tram-im"
#ansible.raw_arguments = ["--diff"]
export DEBIAN_FRONTEND=noninteractive
apt-get install -y python