mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-07 19:32:17 +00:00
The pre-compose staging (social-app clone, login-broker copy, pdsadmin
download) ran before sys-stk-backend and notified compose-build and
compose-up. On a fresh host the container runtime's first flush ("Restart
and enable docker service") then ran the compose handlers before
/usr/bin/ca-inject and compose.yml existed, and "Generate CA trust
override" failed (run 34615516009, job 103327034609).
The staging tasks now only register their result. A changed-only notifier
after the sys-stk-backend include triggers compose-build and compose-up, so
no compose topic is pending at any earlier flush, and the handler-only
include that registered the owner early is gone. The ordering test asserts
both halves: the staging files notify no compose topic, and the rebuild
notifier sits after the backend include.
Verified locally in compose, variant 1: the reinstall full cycle passed
pass 1 with failed=0 and the rebuild task changed after the backend
include, pass 2 Playwright passed, and an update run finished failed=0 with
the rebuild task skipped.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
30 lines
818 B
YAML
30 lines
818 B
YAML
---
|
|
# The following lines should be removed when the following issue is closed:
|
|
# https://github.com/bluesky-social/pds/issues/52
|
|
|
|
- name: ⬇️ Download pdsadmin tarball
|
|
get_url_retry:
|
|
url: "https://github.com/lhaig/pdsadmin/releases/download/v1.0.0-dev/pdsadmin_Linux_x86_64.tar.gz"
|
|
dest: "{{ BLUESKY_PDSADMIN_TMP_TAR }}"
|
|
mode: "0644"
|
|
register: bluesky_pdsadmin_download
|
|
|
|
- name: 📁 Create {{ BLUESKY_PDSADMIN_DIR }}
|
|
file:
|
|
path: "{{ BLUESKY_PDSADMIN_DIR }}"
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: 📤 Extract pdsadmin tarball
|
|
unarchive:
|
|
src: "{{ BLUESKY_PDSADMIN_TMP_TAR }}"
|
|
dest: "{{ BLUESKY_PDSADMIN_DIR }}"
|
|
remote_src: true
|
|
mode: "0755"
|
|
|
|
- name: ✅ Ensure pdsadmin is executable
|
|
file:
|
|
path: "{{ BLUESKY_PDSADMIN_FILE }}"
|
|
mode: "0755"
|
|
state: file
|