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