mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-30 21:07:01 +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.
55 lines
866 B
YAML
55 lines
866 B
YAML
---
|
|
- hosts: all
|
|
become: true
|
|
vars_files:
|
|
- vars.yml
|
|
roles:
|
|
- common
|
|
|
|
- hosts: app_server
|
|
become: true
|
|
vars_files:
|
|
- vars.yml
|
|
roles:
|
|
- cmark-gfm
|
|
- pts_lbsearch
|
|
- python
|
|
- gunicorn
|
|
- nginx
|
|
- nginx_site_config
|
|
- postgresql
|
|
- postgresql_plpython
|
|
- postgresql_tildes_dbs
|
|
- pgbouncer
|
|
- redis
|
|
- redis_module_cell
|
|
- postgresql_redis_bridge
|
|
- boussole
|
|
- webassets
|
|
- scripts
|
|
- prometheus_node_exporter
|
|
- prometheus_postgres_exporter
|
|
- prometheus_redis_exporter
|
|
- consumers
|
|
- cronjobs
|
|
- wiki_repo
|
|
|
|
- hosts: dev
|
|
become: true
|
|
vars_files:
|
|
- vars.yml
|
|
roles:
|
|
- self_signed_ssl_cert
|
|
- prometheus
|
|
- java
|
|
- nodejs
|
|
- development
|
|
|
|
- hosts: prod
|
|
become: true
|
|
vars_files:
|
|
- vars.yml
|
|
roles:
|
|
- nginx_prod_config
|
|
- ipv6_networking
|