mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 11:17:17 +02:00
22 lines
715 B
YAML
22 lines
715 B
YAML
- name: clone social app repository
|
|
git:
|
|
repo: "https://github.com/bluesky-social/social-app.git"
|
|
dest: "{{ BLUESKY_SOCIAL_APP_DIR }}"
|
|
version: "main"
|
|
force: true
|
|
notify:
|
|
- docker compose up
|
|
- docker compose build
|
|
|
|
- name: Force BAPP_CONFIG_URL to same-origin /config
|
|
ansible.builtin.replace:
|
|
path: "{{ BLUESKY_SOCIAL_APP_DIR }}/src/state/geolocation.tsx"
|
|
regexp: '^\s*const\s+BAPP_CONFIG_URL\s*=\s*.*$'
|
|
replace: "const BAPP_CONFIG_URL = '/config'"
|
|
|
|
- name: Force IPCC_URL to same-origin /ipcc
|
|
ansible.builtin.replace:
|
|
path: "{{ BLUESKY_SOCIAL_APP_DIR }}/src/state/geolocation.tsx"
|
|
regexp: '^\s*const\s+IPCC_URL\s*=\s*.*$'
|
|
replace: "const IPCC_URL = '/ipcc'"
|