r/web/hlc: Add formsubmit config for summer signup

And of course, Tabitha lost her SSH key so she had to get another one.
frigate-exporter
Dustin 2024-01-23 22:04:29 -06:00
parent 5287ff601b
commit 236e6dced6
4 changed files with 24 additions and 1 deletions

View File

@ -8,6 +8,14 @@ chmod777_publisher_keys: '{{ dchwww_publisher_keys }}'
apache_server_name: pyrocufflink.net
userdir_proxy_backend: http://files.pyrocufflink.blue
tabitha_publisher_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbeVaQ5eGTaQU9P0sqo9R2IISoe50qS/Hv/vvFdt3ce tabitha@Tabithas-MacBook-Pro.local
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF0z2DUsWsWZ55eQM3ofLQ3EbbOgPOhsCzUWKW3vPSTw hlc@Hatchs-MBP.pyrocufflink.red
dustinandtabitha_publisher_keys: '{{ tabitha_publisher_keys + dchwww_publisher_keys }}'
hlc_publisher_keys: '{{ tabitha_publisher_keys }}'
formsubmit_matrix_access_token: !vault |
$ANSIBLE_VAULT;1.1;AES256
37326465376138333464326632353035653731636263343438633665623565343832393932613864
3834393133623135313461616430643834346638613238390a316665623137393661383030303561
31373161396132323366373562326335316166306633336365396339323537346361363662373463
6664386164333261380a323032316161343264613330353931616662333861373565383337616163
38326361303633326335633261396661646534383563306165316666653232336561666539666430
6331303132666437623337396661653237366266363638383335

View File

@ -60,6 +60,7 @@
RewriteEngine On
RewriteRule /submit/attendance http://127.0.0.1:8000/hlc-attendance [P]
RewriteRule /submit/signup http://127.0.0.1:8000/hlc-signup [P]
RewriteRule /submit/summer2024 http://127.0.0.1:8000/hlc-summer2024 [P]
DocumentRoot /srv/www/hatchlearningcenter.org/htdocs
<Directory /srv/www/hatchlearningcenter.org/htdocs>

View File

@ -75,3 +75,10 @@
mode: u=rw,go=r
tags:
- config
- name: ensure formsubmit is configured hatchlearningcenter.org summer2024
copy:
content: '{{ hlc_formsubmit_summer2024|to_nice_yaml(indent=2) }}'
dest: /etc/formsubmit/hlc-summer2024.yml
mode: u=rw,go=r
tags:
- config

View File

@ -2,6 +2,13 @@ hlc_formsubmit_attendance:
csvfile: /srv/www/hatchlearningcenter.org/data/attendance.csv
date_field: date
time_field: time
hlc_formsubmit_signup:
csvfile: /srv/www/hatchlearningcenter.org/data/signup.csv
date_field: date
hlc_formsubmit_summer2024:
matrix:
homeserver: hatch.chat
room: '!vyZDNkPeOZJjhZdbZG:hatch.chat'
access_token: '{{ formsubmit_matrix_access_token }}'