diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-11 20:40:32 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-11 20:41:07 -0400 |
commit | 8e290130b47b7f3b9d442c8d6531218eb2f09867 (patch) | |
tree | c8fab9bc27ab3f447524939ea8b2940b6080fba1 /README.org | |
parent | 6d1743c83e239806b1b6fb635e184a59a5f28f5a (diff) | |
download | emacsconf-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.org | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |