This project is 99% written by AI agents. If you're allergic to that then this is not the place for you.
A minimal Ansible-like tool written in Go. It is completely inspired by Ansible and born our of my dislike managing python deps. It's still under heavy development and largely untested in real world.
┌─────────────────────┐ SSH ┌─────────────────────┐
│ Controller (CLI) │ ───────────────────► │ Agent Binary │
│ │ 1. Install agent │ │
│ - Parse YAML │ 2. Execute with │ - Receive JSON │
│ - SSH connection │ JSON args │ - Run apt-get │
│ - Orchestrate │ 3. Get JSON result │ - Return JSON │
└─────────────────────┘ └─────────────────────┘
- Controller reads the playbook YAML
- Connects to each host via SSH
- Insatalls agent to
/tmp/.dibra-agent(if not present) - Executes agent with
sudo -Swrapper, passing JSON request via stdin - Parses JSON response from agent stdout
- Reports changed/ok/failed status for each task
brew install gjergj/tap/dibra
Unfortunately for the time being the best documentation is the code and AGENTS.md
Available CUE composed types live in cue/composed/ and can be imported with:
import "dibra.dev/composed"Included types:
#InstallCaddy
Enable the pre-commit hook to run linting and unit tests before each commit:
git config core.hooksPath .githooks
chmod +x .githooks/pre-commitGenerate shell completions:
dibra completion bash > /usr/local/etc/bash_completion.d/dibra
dibra completion zsh > /usr/local/share/zsh/site-functions/_dibra
dibra completion fish > ~/.config/fish/completions/dibra.fish- Currently supports only Debian/Ubuntu systems.