From 8e290130b47b7f3b9d442c8d6531218eb2f09867 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Tue, 11 Oct 2022 20:40:32 -0400 Subject: Yay, pads are created based on the talks.json file Also, the playbook waits until the pad is up --- README.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.org') 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 -- cgit v1.2.3