322:7dfdf32e8577
Anton Shestakov <av6@dwimlabs.net>, Sat, 14 Jul 2018 20:23:13 +0800
index: authorizing contact also adds it to the roster Maybe there are cases when this doesn't make sense, but so far this looks like the right thing to do.

previous change 304:637853c693a1

contrib/Vagrantfile

Permissions: -rw-r--r--

Other formats: Feeds:
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"]
end
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"]
#ansible.verbose = "vv"
end
end
$setup = <<END
export DEBIAN_FRONTEND=noninteractive
apt-get -yq update
apt-get install -y python
END