mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-30 14:56:11 +00:00
Drops `MAX_LINES` from 12 to 11 in `test_inline_script_block_size.py`, catching the five blocks that were sitting exactly on the previous threshold. Pure-bash blocks move to dedicated `.sh` files invoked via `ansible.builtin.script:` or `run: bash …`; the keycloak heredoc with a templated JSON payload splits into a `set_fact` plus a folded `printf | kcadm … -f -` one-liner. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
23 lines
723 B
Bash
Executable File
23 lines
723 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Dump host disk diagnostics before the Playwright runner starts so OOM
|
|
# / no-space failures (e.g. on GitHub-hosted runners) leave a usable
|
|
# audit trail. Invoked from
|
|
# roles/test-e2e-playwright/tasks/run_one.yml when MODE_DEBUG is true.
|
|
set -o pipefail
|
|
|
|
echo "== findmnt -T /mnt/docker =="
|
|
findmnt -T /mnt/docker || true
|
|
echo
|
|
|
|
echo "== df -h / /mnt /mnt/docker /var/lib/docker =="
|
|
df -h / /mnt /mnt/docker /var/lib/docker || true
|
|
echo
|
|
|
|
echo '== container info | grep "Docker Root Dir" =='
|
|
container info | grep "Docker Root Dir" || true
|
|
echo
|
|
|
|
echo "== du -xhd1 /usr /usr/local /usr/share /opt /mnt /var | sort -h =="
|
|
du -xhd1 /usr /usr/local /usr/share /opt /mnt /var 2>/dev/null | sort -h || true
|