summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2024-10-14 13:32:23 -0400
committerSacha Chua <sacha@sachachua.com>2024-10-14 13:32:23 -0400
commite6444f1edc1eb012975a6f12ee5fd69f02d9d2c0 (patch)
tree25a1f99b324f28bdf1b08d5e37d9a82fb9438df0
parent12c9c93ee96b34d6c01115a58575db88d02d7f52 (diff)
downloademacsconf-ansible-e6444f1edc1eb012975a6f12ee5fd69f02d9d2c0.tar.xz
emacsconf-ansible-e6444f1edc1eb012975a6f12ee5fd69f02d9d2c0.zip
Set Etherpad version to 1.9.7
-rw-r--r--README.org8
-rw-r--r--roles/pad/tasks/main.yml1
2 files changed, 9 insertions, 0 deletions
diff --git a/README.org b/README.org
index 942fc92..fe36bef 100644
--- a/README.org
+++ b/README.org
@@ -128,6 +128,9 @@ Then call =process-prerec.sh $file=. It will launch some screen sessions for ree
3. Update the following variables in your Emacs configuration:
- emacsconf-backstage-dir
- emacsconf-backstage-phase
+4. Create ~/proj/emacsconf/{year}/cache
+5. elisp:emacsconf-publish-talks-json-to-files
+6. [[elisp:emacsconf-publish-backstage-index]]
* Upload service
=ansible-playbook -i inventory.yml prod-playbook.yml --tags upload --ask-become-pass=
@@ -185,6 +188,9 @@ ansible-playbook -i docker-inventory.yml docker-reuse-playbook.yml --tags publis
With docker:
https://stackoverflow.com/questions/24738264/how-to-test-ansible-playbook-using-docker
* Pad
+
+Before generating pads, use elisp:emacsconf-publish-talks-json-to-files to create the talks.json used.
+
** Production
ansible-playbook -i inventory.yml prod-playbook.yml --tags pad,proxy
@@ -199,6 +205,8 @@ ansible-playbook -i inventory.yml prod-playbook.yml --tags proxy
To prepare for a load test:
ansible-playbook -i inventory.yml prod-playbook.yml --tags pad --extra-vars='{"etherpad_load_test": true}'
+To create pads:
+ansible-playbook -i inventory.yml prod-playbook.yml --tags create-pads
** Docker
Creating:
ansible-playbook -i docker-inventory.yml docker-playbook.yml --tags pad
diff --git a/roles/pad/tasks/main.yml b/roles/pad/tasks/main.yml
index 103ba14..b720b40 100644
--- a/roles/pad/tasks/main.yml
+++ b/roles/pad/tasks/main.yml
@@ -45,6 +45,7 @@
git:
repo: https://github.com/ether/etherpad-lite.git
dest: "{{ etherpad_path }}"
+ version: v1.9.7
depth: 1
- name: Configure etherpad
template: