diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-30 10:00:24 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-30 10:00:24 -0400 |
commit | 1bd3049f1692273a49eca0a92ec6710f2a2d0ded (patch) | |
tree | e1b2c0ad12d023ebe75720556ac02d49b9fee756 | |
parent | 04a095491541cd47355e17e3636bff8fe86490cd (diff) | |
download | emacsconf-ansible-1bd3049f1692273a49eca0a92ec6710f2a2d0ded.tar.xz emacsconf-ansible-1bd3049f1692273a49eca0a92ec6710f2a2d0ded.zip |
Add more notes
Diffstat (limited to '')
-rw-r--r-- | README.org | 31 |
1 files changed, 30 insertions, 1 deletions
@@ -6,6 +6,12 @@ ansible-galaxy collection install community.general Production: needs prod-vars.yml, see prod-vars.yml.sample Docker: needs docker-vars.yml, see docker-vars.yml.sample +* How to use this playbook + +1. Install ansible on your local machine and check out this repo. +2. Copy the ansible_vars block from conf.org to prod-vars.yml in this repo (alongside inventory.yml), or set emacsconf-ansible-directory in Emacs and then use emacsconf-ansible-tangle-vars to tangle the file. +3. Find the ansible-playbook command you want to run and try it out. + * Wiki ** Ikiwiki *** Prod @@ -166,8 +172,31 @@ Use a test pattern (don't know if this works) ansible-playbook -i inventory.yml prod-playbook.yml --tags test -e icecast_test_track=dev -e icecast_test=pattern * Captioning -Set up whisper +Set up whisper: ansible-playbook -i inventory.yml prod-playbook.yml --tags caption +Update caption script: + +ansible-playbook -i inventory.yml prod-playbook.yml --tags process-captions + ffmpeg -y -i handwritten/reencode.webm -t 60 -vcodec copy -acodec copy test.webm +* Other useful things + +nodemon -w . -e yml -x 'ansible-playbook -i inventory.yml prod-playbook.yml --tags vnc; true' +* OBS + +sudo su - orga -c vncserver +ssh -L 15902:127.0.0.1:5902 res + +Resizing VNC after connection +xrandr -s 1280x720 + +pacmd load-module module-null-sink sink_name=DevelopmentSink sink_properties=device.description="DevelopmentSink" + +pavucontrol +vncserver -kill :1 +vncserver -kill :2 + +Firefox profiles like to be created in an X environment +firefox -no-remote -CreateProfile "{{ emacsconf_id }}-{{ item.item.id }} |