diff options
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -463,3 +463,37 @@ restreaming_platforms: It doesn't get automatically started, so you'll also need to call ~screen -S restream-$TRACK_ID-youtube~ and ~screen -S restream-$TRACK_ID-toobnix~. * BBB ansible-playbook -i inventory.yml prod-playbook.yml --tags bbb +* Local testing with vagrant + +Rough notes on local testing + +#+begin_src ruby :tangle test/front/Vagrantfile +# -*- mode: ruby -*- +Vagrant.configure("2") do |config| + config.vm.box = "debian/bookworm64" + config.vm.define "pad" do |pad| + end + config.vm.provider "virtualbox" do |vb| + vb.memory = "2048" + end + config.vm.network "private_network", ip: "192.168.56.2" + config.vm.provision "ansible" do |ansible| + ansible.playbook = "../../vagrant-playbook.yml" + end +end +#+end_src + +In ~test/front~: ~vagrant up --provision~ + +ansible-galaxy role install systemli.etherpad + +nodemon -e '*' -w ../../roles/pad/ -x "vagrant destroy -f && vagrant up --provision" + +Backing up: + +- name: Load vars + hosts: all + tags: always + tasks: + - include_vars: + file: prod-vars.yml |