Run multi-step shell procedures with atomic audit trail. Every step persisted before execution. Every failure recorded. No silent drops.
Project description
Audited Runbook Executor
Multi-step shell procedures with atomic audit trail. Every step is persisted before execution. Every failure is recorded. No silent drops.
Install
pip install audited-runbook
From source:
pip install -e .
Verify
runbook --help
Run a runbook
runbook run runbooks/test-success.yaml
With overrides:
runbook run --cwd /tmp --env FOO=bar --env BAZ=qux runbooks/test-success.yaml
runbook run --db /tmp/my.db runbooks/test-success.yaml
Query history
runbook history
runbook history -n 5
Inspect an execution
runbook inspect <execution-id>
View audit trail
runbook audit <execution-id> --pretty
runbook audit <execution-id> # raw JSON
Validate a runbook (no execution)
runbook validate runbooks/test-success.yaml
Runbook format
name: my-deploy
description: Optional description.
steps:
- name: run-tests
command: pytest tests/ -x
- name: build
command: docker build -t myapp .
timeout_seconds: 300
Default database
~/.runbook/runbook.db — override with --db PATH.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audited_runbook-0.1.0.tar.gz.
File metadata
- Download URL: audited_runbook-0.1.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ace6efafa36d41e35cf4324c4ae51d1ea6a0bd57ed0fa28e2f8ea072316184d2
|
|
| MD5 |
610e6bd2f142a54220bf2986789356bd
|
|
| BLAKE2b-256 |
755cc25e4c8ba9eec37db1ef277a901565da4d94c608356798d82a1b5e920ec5
|
File details
Details for the file audited_runbook-0.1.0-py3-none-any.whl.
File metadata
- Download URL: audited_runbook-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b112ab9019476234bcd9387e9982936dae3640dc2a88556eafda289043182bbc
|
|
| MD5 |
28ecce5bb5ed715d8a08593899aad4d0
|
|
| BLAKE2b-256 |
48f1ac98a507c1a6dda5cd6ba00bab128ee2e60251de4a7b7dfdf690b5caf291
|