forked from cisti/infra
21 lines
No EOL
418 B
YAML
21 lines
No EOL
418 B
YAML
---
|
|
dependencies:
|
|
|
|
# install nodejs
|
|
- role: nodejs
|
|
|
|
# install postgres
|
|
# and create an etherpad user and db
|
|
- role: postgresql
|
|
vars:
|
|
username: etherpad
|
|
password: "{{ database_password }}"
|
|
database: etherpad
|
|
|
|
# install caddy and configure it as reverse proxy
|
|
- role: caddy
|
|
vars:
|
|
caddy_config: |
|
|
{{hostname}}
|
|
encode gzip
|
|
reverse_proxy localhost:31337 |