Files
ansible-collection-dnd/README.md

4.9 KiB

rakestraw.dnd

An Ansible collection for installing and configuring the D&D transcript-processing pipeline on Ubuntu 26.04. The assembled pipeline role is available as rakestraw.dnd.pipeline and supports Ansible Core 2.18 or newer.

Release 0.1.0 contains the reviewed rakestraw.dnd_pipeline v0.1.0 snapshot and pins the Seriatim, Audita, Notarius, Scriptorium, and Narratio roles to their respective v0.1.0 releases.

The current development snapshot imports reviewed pipeline revision 63f1dd4fb43744c4df3f06c0f909c843f6eb68d0 and its compatible public role pins:

Application Version
Narratio v4.0.0
Notarius v0.10.0
Audita v4.3.0
Scriptorium v0.16.0
Seriatim v1.5.0

It uses native configuration imports and shared campaign/party/glossary formats, with immutable compatible asset commits. Recap and character analysis default to current-session-only prompts; previous-aware variants are explicit opt-ins. Automatic cleanup defaults to false. Review the pipeline migration and configuration guidance before upgrading inventory or application-owned state, including credential delivery, testing overlays, config-local prompt/catalog paths and the Narratio v4 manifest boundary.

This source snapshot does not replace the published 0.1.0 release artifact. The collection metadata version remains 0.1.0; tagging and publishing a new release are separate work. The existing deployment consumer is updated separately.

Install the current source snapshot

Use the same collection commit for both its compatibility manifest and source installation. Replace COLLECTION_COMMIT with the selected published Git commit:

collection_revision=COLLECTION_COMMIT
curl -fL -o requirements.yml \
  "https://gitea.maximumdirect.net/eric/ansible-collection-dnd/raw/commit/$collection_revision/requirements.yml"
ansible-galaxy install -r requirements.yml
ansible-galaxy collection install \
  "git+https://gitea.maximumdirect.net/eric/ansible-collection-dnd.git,$collection_revision" \
  --no-deps --force

--force replaces an installed collection carrying the same development metadata version. This installation selects a source commit; it does not create a release.

Install release 0.1.0

Download the tagged compatibility manifest and install its exact standalone role and collection dependencies:

curl -fLO \
  https://gitea.maximumdirect.net/eric/ansible-collection-dnd/raw/tag/v0.1.0/requirements.yml
ansible-galaxy install -r requirements.yml

Then install the published collection artifact without resolving dependencies a second time:

ansible-galaxy collection install \
  https://gitea.maximumdirect.net/eric/ansible-collection-dnd/releases/download/v0.1.0/rakestraw-dnd-0.1.0.tar.gz \
  --no-deps

Build from source

Maintainers can build the collection into a temporary directory after installing requirements.yml:

build_dir=$(mktemp -d)
ansible-galaxy collection build --output-path "$build_dir"
ansible-galaxy collection install \
  "$build_dir/rakestraw-dnd-0.1.0.tar.gz" --no-deps

Use

---
- name: Install the D&D transcript-processing pipeline
  hosts: pipeline_hosts
  gather_facts: true
  roles:
    - role: rakestraw.dnd.pipeline

Set dnd_pipeline_whisperx_transcribe_url and any configuration overrides in inventory host_vars or group_vars, following the pipeline role's guidance.

Maintain the pipeline snapshot

ansible-role-dnd-pipeline is authoritative. Make and review role changes there, then import the reviewed commit; do not edit roles/pipeline directly. The selected commit or immutable tag must be pushed to the authoritative repository before collection assembly. Replace PUSHED_COMMIT_OR_TAG below with that remote revision.

Initial import:

pipeline_revision=PUSHED_COMMIT_OR_TAG
git subtree add --prefix=roles/pipeline \
  https://gitea.maximumdirect.net/eric/ansible-role-dnd-pipeline.git \
  "$pipeline_revision" --squash

Subsequent update:

pipeline_revision=PUSHED_COMMIT_OR_TAG
git subtree pull --prefix=roles/pipeline \
  https://gitea.maximumdirect.net/eric/ansible-role-dnd-pipeline.git \
  "$pipeline_revision" --squash

Validate the assembled collection

tests/integration installs the public compatibility dependencies, builds and installs the artifact in temporary controller paths, and applies rakestraw.dnd.pipeline twice to the local Ubuntu test host. It requires a clean repeat, checks package exclusions and production lint, and validates native configuration, overlays, domain inspection and recap preparation without a previous recap. It uses synthetic credentials and the selected public asset origins; it does not perform live inference, storage operations or deployment to an operational host. Application source-role coverage owns the broader scenario matrix.

bash -n tests/integration
tests/integration