mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
- Add ALLOWED_PRIVATE_ADDRESSES to .env (from svc-db-postgres) to handle 422 Mastodon::PrivateNetworkAddressError - Switch docker-compose to MASTODON_* variables and align vars/main.yml - Always run 01_setup.yml during deployment (removed conditional flag) - OpenLDAP: remove implicit True default on network.local to avoid unintended truthy behavior Context: chess.infinito.nexus resolved to 192.168.200.30 (private IP) from Mastodon; targeted allowlist unblocks federation lookups. Ref: https://chat.openai.com/share/REPLACE_WITH_THIS_CONVERSATION_LINK
22 lines
682 B
YAML
22 lines
682 B
YAML
---
|
|
- name: "Include setup for domain '{{ domain }}'"
|
|
include_role:
|
|
name: sys-stk-front-proxy
|
|
loop: "{{ domains['web-app-mastodon'] }}"
|
|
loop_control:
|
|
loop_var: domain
|
|
vars:
|
|
http_port: "{{ ports.localhost.http[application_id] }}"
|
|
location_ws: "/api/v1/streaming"
|
|
ws_port: "{{ ports.localhost.websocket[application_id] }}"
|
|
client_max_body_size: "80m"
|
|
vhost_flavour: "ws_generic"
|
|
|
|
- name: "load docker and db for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-back-stateful
|
|
vars:
|
|
docker_compose_flush_handlers: true
|
|
|
|
- name: "start setup procedures for mastodon"
|
|
include_tasks: 01_setup.yml |