mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-23 17:52:50 +02:00
4cc100ab02
This changes the site to run on Debian 10 instead of Ubuntu 16.04. It also fully converts the previous Salt setup to use Ansible instead. Most of this was a relatively straightforward conversion, and it should be very close to equivalent. One notable difference is that I removed the setup for the "monitoring" server, since I wasn't confident that the way of setting up self-hosted Sentry and Grafana was working any more. I'll look to re-add that at some point, but it's not urgent.
34 lines
849 B
YAML
34 lines
849 B
YAML
---
|
|
app_username: vagrant
|
|
pip_requirements_filename: requirements-dev.txt
|
|
ini_file: development.ini
|
|
|
|
gunicorn_args: --reload
|
|
|
|
# have to disable sendfile for vagrant due to a virtualbox bug
|
|
nginx_enable_sendfile: false
|
|
nginx_worker_processes: 1
|
|
|
|
nginx_enable_hsts: false
|
|
nginx_enable_csp: false
|
|
|
|
postgresql_tildes_databases:
|
|
- tildes
|
|
- tildes_test
|
|
postgresql_tildes_user_flags: "SUPERUSER"
|
|
tildes_database_insert_dev_data: true
|
|
|
|
hsts_max_age: 60
|
|
|
|
site_hostname: localhost
|
|
|
|
ssl_cert_dir: /etc/pki/tls/certs
|
|
ssl_cert_path: "{{ ssl_cert_dir }}/localhost.crt"
|
|
ssl_private_key_path: "{{ ssl_cert_dir }}/localhost.key"
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
# Workaround for some Ansible permissions issues when becoming an unprivileged user
|
|
# (this has some risks, but should be fine for our use)
|
|
ansible_shell_allow_world_readable_temp: true
|