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