Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation

This commit is contained in:
2025-07-08 23:43:13 +02:00
parent 6b87a049d4
commit 563d5fd528
1242 changed files with 2301 additions and 1355 deletions

View File

@@ -0,0 +1,30 @@
---
- name: "include service-rdbms-central"
include_role:
name: service-rdbms-central
- name: "Include setup for domain '{{ domain }}'"
include_role:
name: webserver-proxy-domain
loop: "{{ domains.mastodon }}"
loop_control:
loop_var: domain
vars:
http_port: "{{ ports.localhost.http[application_id] }}"
ws_path: "/api/v1/streaming"
ws_port: "{{ ports.localhost.websocket[application_id] }}"
client_max_body_size: "80m"
vhost_flavour: "ws_generic"
- name: flush docker service
meta: flush_handlers
when: applications.mastodon.setup |bool
- name: setup routine for mastodon
command:
cmd: "docker-compose run --rm web bundle exec rails db:migrate"
chdir: "{{docker_compose.directories.instance}}"
when: applications.mastodon.setup |bool
- name: "include create-administrator.yml for mastodon"
include_tasks: create-administrator.yml