mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-09 03:37:37 +02:00
Changes: add AppView port; add CSP whitelist; new tasks (01_pds, 02_social_app, 03_dns); switch templates to BLUESKY_* vars; update docker-compose and env; TCP healthcheck; remove admin_password from schema. Conversation context: https://chatgpt.com/share/68b85276-e0ec-800f-90ec-480a1d528593
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
- name: "include docker-compose role"
|
|
include_role:
|
|
name: docker-compose
|
|
vars:
|
|
docker_compose_flush_handlers: false
|
|
|
|
- name: "Include front proxy for {{ BLUESKY_API_DOMAIN }}:{{ BLUESKY_API_PORT }}"
|
|
include_role:
|
|
name: sys-stk-front-proxy
|
|
vars:
|
|
domain: "{{ BLUESKY_API_DOMAIN }}"
|
|
http_port: "{{ BLUESKY_API_PORT }}"
|
|
|
|
- name: "Include front proxy for {{ BLUESKY_WEB_DOMAIN }}:{{ BLUESKY_WEB_PORT }}"
|
|
include_role:
|
|
name: sys-stk-front-proxy
|
|
vars:
|
|
domain: "{{ BLUESKY_WEB_DOMAIN }}"
|
|
http_port: "{{ BLUESKY_WEB_PORT }}"
|
|
when: BLUESKY_WEB_ENABLED | bool
|
|
|
|
- name: "Include front proxy for {{ BLUESKY_VIEW_DOMAIN }}:{{ BLUESKY_VIEW_PORT }}"
|
|
include_role:
|
|
name: sys-stk-front-proxy
|
|
vars:
|
|
domain: "{{ BLUESKY_VIEW_DOMAIN }}"
|
|
http_port: "{{ BLUESKY_VIEW_PORT }}"
|
|
when: BLUESKY_VIEW_ENABLED | bool
|
|
|
|
- name: "Execute PDS routines"
|
|
ansible.builtin.include_tasks: "01_pds.yml"
|
|
|
|
- name: "Execute Social App routines"
|
|
ansible.builtin.include_tasks: "02_social_app.yml"
|
|
when: BLUESKY_WEB_ENABLED | bool
|
|
|
|
- name: "DNS for Bluesky"
|
|
include_tasks: "03_dns.yml"
|
|
when: DNS_PROVIDER | lower == 'cloudflare' |