summaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-11 20:40:32 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-11 20:41:07 -0400
commit8e290130b47b7f3b9d442c8d6531218eb2f09867 (patch)
treec8fab9bc27ab3f447524939ea8b2940b6080fba1 /README.org
parent6d1743c83e239806b1b6fb635e184a59a5f28f5a (diff)
downloademacsconf-ansible-8e290130b47b7f3b9d442c8d6531218eb2f09867.tar.xz
emacsconf-ansible-8e290130b47b7f3b9d442c8d6531218eb2f09867.zip
Yay, pads are created based on the talks.json file
Also, the playbook waits until the pad is up
Diffstat (limited to 'README.org')
-rw-r--r--README.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.org b/README.org
index 0b3c622..7554082 100644
--- a/README.org
+++ b/README.org
@@ -1,6 +1,8 @@
This repository contains infrastructure-as-code ansible configurations
for various pieces of the EmacsConf infrastructure.
+ansible-galaxy collection install community.general
+
* Front - publishing
** Prod
To run the playbook and publish the main schedule:
@@ -27,6 +29,8 @@ ansible-playbook -i docker-inventory.yaml docker-reuse-playbook.yaml --tags pad
Connecting:
docker exec -it emacsconf-pad /bin/bash
+Creating pads
+ansible-playbook -i docker-inventory.yaml docker-reuse-playbook.yaml --tags create-pads
file:/docker:emacsconf-pad:/home/etherpad/etherpad/
@@ -52,4 +56,6 @@ curl "http://localhost:9001/api/1/createPad?apikey=$padkey&padID=emacsconf-2022"
curl http://localhost:9001/api/1/createPad?apikey=b7a15dc34cc7f6917cca6cd9a2b4b92145af7c7cd9b341af34869ab8cd3568be&padID=emacsconf-2022
{"code":0,"message":"ok","data":null}
:end:
+** TODO Set etherpad_database_password and etherpad_api_key using the vault or the command-line
+ansible-playbook .... --extra-vars prod-vars.yml